5/27/1
This commit is contained in:
@@ -45,12 +45,16 @@ class SplashScreenController extends GetxController
|
||||
}
|
||||
|
||||
void startTimer() async {
|
||||
print(box.read(BoxName.email));
|
||||
print(box.read(BoxName.phone));
|
||||
print(box.read(BoxName.isVerified));
|
||||
print('---------');
|
||||
Timer(const Duration(seconds: 5), () async {
|
||||
box.read(BoxName.onBoarding) == null
|
||||
? Get.off(() => OnBoardingPage())
|
||||
: box.read(BoxName.email) != null &&
|
||||
box.read(BoxName.phone) != null &&
|
||||
box.read(BoxName.isVerified) == 'true'
|
||||
box.read(BoxName.isVerified) == '1'
|
||||
// ? Get.off(() => const MapPagePassenger())
|
||||
? await Get.put(LoginController()).loginFromSignInGoogle(
|
||||
box.read(BoxName.passengerID).toString(),
|
||||
|
||||
Reference in New Issue
Block a user