9/16/2
This commit is contained in:
@@ -246,10 +246,10 @@ class LoginController extends GetxController {
|
||||
void onInit() async {
|
||||
// permissionLocation = await Permission.locationWhenInUse.isGranted;
|
||||
await getAppTester(AppInformation.appName);
|
||||
if (isTest == 0 && box.read(BoxName.passengerID) != null) {
|
||||
await loginUsingCredentials(
|
||||
box.read(BoxName.passengerID), box.read(BoxName.email));
|
||||
}
|
||||
// if (isTest == 0 && box.read(BoxName.passengerID) != null) {
|
||||
// await loginUsingCredentials(
|
||||
// box.read(BoxName.passengerID), box.read(BoxName.email));
|
||||
// }
|
||||
super.onInit();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -232,9 +232,10 @@ class RegisterController extends GetxController {
|
||||
print('WhatsApp message sent to non-Egyptian phone number: $phoneNumber');
|
||||
}
|
||||
isLoading = false;
|
||||
update();
|
||||
|
||||
isSent = true;
|
||||
remainingTime = 300; // Reset to 5 minutes
|
||||
remainingTime = 300;
|
||||
update(); // Reset to 5 minutes
|
||||
startTimer();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user