This commit is contained in:
Hamza-Ayed
2024-05-20 02:48:27 +03:00
parent e755cea0ae
commit 908b5979a8
6 changed files with 19 additions and 16 deletions

View File

@@ -47,12 +47,14 @@ class SplashScreenController extends GetxController
Timer(const Duration(seconds: 5), () {
box.read(BoxName.onBoarding) == null
? Get.off(() => OnBoardingPage())
: box.read(BoxName.emailDriver) != null &&
: box.read(BoxName.emailDriver) != null
// todo
&&
box.read(BoxName.deviceInfo) != null &&
box.read(BoxName.phoneVerified) == '1'
// ? Get.off(() => SmsSignupEgypt())
? Get.off(() => HomeCaptain())
: Get.off(() => SmsSignupEgypt());
: Get.off(() => LoginCaptin());
});
}