Update: 2026-06-25 02:28:33
This commit is contained in:
@@ -300,8 +300,7 @@ class LoginController extends GetxController {
|
||||
if (decoded is! Map || decoded.isEmpty) return;
|
||||
|
||||
if (decoded['status'] == 'failure' || decoded['status'] == 'Failure') {
|
||||
Get.snackbar("User does not exist.".tr, '',
|
||||
backgroundColor: Colors.red);
|
||||
mySnackeBarError("User does not exist.".tr);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -445,7 +444,7 @@ class LoginController extends GetxController {
|
||||
Get.offAll(() => const MapPagePassenger());
|
||||
} catch (e) {
|
||||
addError('$e', 'loginUsingCredentials');
|
||||
Get.snackbar('Error', e.toString(), backgroundColor: Colors.redAccent);
|
||||
mySnackeBarError(e.toString());
|
||||
} finally {
|
||||
isloading = false;
|
||||
update();
|
||||
|
||||
Reference in New Issue
Block a user