From b5317a34540c83e02280e5875ea2e923b732f7b3 Mon Sep 17 00:00:00 2001 From: haroon amjad Date: Tue, 26 Aug 2025 16:57:51 +0300 Subject: [PATCH] updates --- lib/pages/landing/landing_page.dart | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/pages/landing/landing_page.dart b/lib/pages/landing/landing_page.dart index 09b70d1a..48c8daa3 100644 --- a/lib/pages/landing/landing_page.dart +++ b/lib/pages/landing/landing_page.dart @@ -733,13 +733,13 @@ class _LandingPageState extends State 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 {