closing the login first dialog

pull/99/head
tahaalam 2 months ago
parent 8f46dddbd6
commit 224463feb4

@ -166,6 +166,7 @@ class EmergencyServicesViewModel extends ChangeNotifier {
dialogService.showErrorBottomSheet(
message: "You Need To Login First To Continue".needTranslation,
onOkPressed: () {
navServices.pop();
getIt<AuthenticationViewModel>().onLoginPressed();
});
return;
@ -1059,6 +1060,7 @@ class EmergencyServicesViewModel extends ChangeNotifier {
dialogService.showErrorBottomSheet(
message: "You Need To Login First To Continue".needTranslation,
onOkPressed: () {
navServices.pop();
getIt<AuthenticationViewModel>().onLoginPressed();
});
}

Loading…
Cancel
Save