|
|
|
|
@ -733,13 +733,13 @@ class _LandingPageState extends State<LandingPage> with WidgetsBindingObserver {
|
|
|
|
|
checkLastLoginStatus(AuthenticatedUser user, String deviceToken) async {
|
|
|
|
|
int lastLoginStatus = await sharedPref.getInt(LAST_LOGIN) != null ? await sharedPref.getInt(LAST_LOGIN) : 1;
|
|
|
|
|
|
|
|
|
|
// if (lastLoginStatus == 1 || lastLoginStatus == 4) {
|
|
|
|
|
// if (await sharedPref.getBool(HAS_ENABLED_QUICK_LOGIN) == null || !await sharedPref.getBool(HAS_ENABLED_QUICK_LOGIN)) {
|
|
|
|
|
showQuickLoginBottomSheet(context, user, deviceToken, false);
|
|
|
|
|
// }
|
|
|
|
|
if (lastLoginStatus == 1 || lastLoginStatus == 4) {
|
|
|
|
|
if (await sharedPref.getBool(HAS_ENABLED_QUICK_LOGIN) == null || !await sharedPref.getBool(HAS_ENABLED_QUICK_LOGIN)) {
|
|
|
|
|
showQuickLoginBottomSheet(context, user, deviceToken, false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// showQuickLoginBottomSheet(context, user, deviceToken, false);
|
|
|
|
|
// }
|
|
|
|
|
// showQuickLoginBottomSheet(context, user, deviceToken, false);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void showQuickLoginBottomSheet(BuildContext context, AuthenticatedUser user, String deviceToken, bool isDone) async {
|
|
|
|
|
|