From 286dfaa376253dff205fb3025079a21f066718a4 Mon Sep 17 00:00:00 2001 From: Sultan khan Date: Tue, 16 Sep 2025 16:30:41 +0300 Subject: [PATCH] no message --- lib/features/authentication/authentication_view_model.dart | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/features/authentication/authentication_view_model.dart b/lib/features/authentication/authentication_view_model.dart index 904aea2..2906b97 100644 --- a/lib/features/authentication/authentication_view_model.dart +++ b/lib/features/authentication/authentication_view_model.dart @@ -612,9 +612,8 @@ class AuthenticationViewModel extends ChangeNotifier { checkLastLoginStatus(Function() onSuccess) async { - cacheService.getBool(key: CacheConst.quickLoginEnabled); - Future.delayed(Duration(seconds: 1), () { - if(cacheService.getBool(key: CacheConst.quickLoginEnabled) == false) { + Future.delayed(Duration(seconds: 1), () async { + if(cacheService.getBool(key: CacheConst.quickLoginEnabled) == null){ if (_appState.getSelectDeviceByImeiRespModelElement != null && (_appState.getSelectDeviceByImeiRespModelElement!.logInType == 1 || _appState.getSelectDeviceByImeiRespModelElement!.logInType == 4)) { phoneNumberController.text =