haroon_dev
haroon amjad 1 day ago
parent 948416da74
commit e867de7b71

@ -1209,13 +1209,15 @@ class AuthenticationViewModel extends ChangeNotifier {
}
// Fetch profile image after switching user
await _fetchProfileImage(activation.list!.first.patientId);
// await _fetchProfileImage(activation.list!.first.patientId);
_fetchProfileImage(activation.list!.first.patientId);
} else {
activation.list!.first.isParentUser = true;
_appState.addUserSwitchPayload(activation.list!.first.toJson(), isSuperUser: true);
// Fetch profile image after login
await _fetchProfileImage(activation.list!.first.patientId);
// await _fetchProfileImage(activation.list!.first.patientId);
_fetchProfileImage(activation.list!.first.patientId);
}
activation.list!.first.bloodGroup = activation.patientBloodType;
activation.list!.first.zipCode = selectedCountrySignup == CountryEnum.others ? '0' : selectedCountrySignup.countryCode;

Loading…
Cancel
Save