9/8/2
This commit is contained in:
@@ -203,12 +203,6 @@ class LoginController extends GetxController {
|
||||
}
|
||||
}
|
||||
|
||||
goToMapPage() {
|
||||
if (box.read(BoxName.email) != null) {
|
||||
Get.offAll(() => const MapPagePassenger());
|
||||
}
|
||||
}
|
||||
|
||||
final location = Location();
|
||||
|
||||
// late PermissionStatus permissionGranted = PermissionStatus.denied;
|
||||
@@ -246,10 +240,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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user