|  |  |  | @ -324,20 +324,22 @@ class _VerifyLastLoginScreenState extends State<VerifyLastLoginScreen> { | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  |   Future<void> performApiCall(String _title, String _icon, int _flag, int sendVerificationFlat, {bool isDirectLogin = false}) async { | 
		
	
		
			
				|  |  |  |  |     try { | 
		
	
		
			
				|  |  |  |  |       if (isDirectLogin) | 
		
	
		
			
				|  |  |  |  |       if (isDirectLogin) { | 
		
	
		
			
				|  |  |  |  |         setState(() { | 
		
	
		
			
				|  |  |  |  |           Utils.showLoading(context); | 
		
	
		
			
				|  |  |  |  |         }); | 
		
	
		
			
				|  |  |  |  |       else | 
		
	
		
			
				|  |  |  |  |       } else { | 
		
	
		
			
				|  |  |  |  |         Utils.showLoading(context); | 
		
	
		
			
				|  |  |  |  |       } | 
		
	
		
			
				|  |  |  |  |       await LoginApiClient().checkMobileAppVersion(); | 
		
	
		
			
				|  |  |  |  |       await LoginApiClient().memberLogin(AppState().getUserName!, AppState().password!); | 
		
	
		
			
				|  |  |  |  |       if (!isDirectLogin) | 
		
	
		
			
				|  |  |  |  |       if (!isDirectLogin) { | 
		
	
		
			
				|  |  |  |  |         BasicMemberInformationModel? memberInformationModel = | 
		
	
		
			
				|  |  |  |  |             await LoginApiClient().mohemmSendActivationCodeByOTPNotificationType(0, AppState().memberLoginList?.pMOBILENUMBER, sendVerificationFlat, AppState().getUserName); | 
		
	
		
			
				|  |  |  |  |       } | 
		
	
		
			
				|  |  |  |  |       if (isDirectLogin) performDirectApiCall(_title, _icon, _flag, "", null); | 
		
	
		
			
				|  |  |  |  |       if (!isDirectLogin) Utils.hideLoading(context); | 
		
	
		
			
				|  |  |  |  |       if (!isDirectLogin) | 
		
	
		
			
				|  |  |  |  |       if (!isDirectLogin) { | 
		
	
		
			
				|  |  |  |  |         OtpDialog( | 
		
	
		
			
				|  |  |  |  |           context, | 
		
	
		
			
				|  |  |  |  |           sendVerificationFlat, | 
		
	
	
		
			
				
					|  |  |  | @ -353,6 +355,7 @@ class _VerifyLastLoginScreenState extends State<VerifyLastLoginScreen> { | 
		
	
		
			
				|  |  |  |  |             performApiCall(_title, _icon, _flag, sendVerificationFlat, isDirectLogin: isDirectLogin); | 
		
	
		
			
				|  |  |  |  |           }, | 
		
	
		
			
				|  |  |  |  |         ).displayDialog(context); | 
		
	
		
			
				|  |  |  |  |       } | 
		
	
		
			
				|  |  |  |  |     } catch (ex) { | 
		
	
		
			
				|  |  |  |  |       Utils.hideLoading(context); | 
		
	
		
			
				|  |  |  |  |       Utils.handleException(ex, context, null); | 
		
	
	
		
			
				
					|  |  |  | @ -372,6 +375,7 @@ class _VerifyLastLoginScreenState extends State<VerifyLastLoginScreen> { | 
		
	
		
			
				|  |  |  |  |           mobileLoginInfoListModel!.deviceToken!, | 
		
	
		
			
				|  |  |  |  |           Platform.isAndroid ? "android" : "ios"); | 
		
	
		
			
				|  |  |  |  |       AppState().setMemberInformationListModel = genericResponseModel!.memberInformationList?.first; | 
		
	
		
			
				|  |  |  |  |       AppState().setPrivilegeListModel = genericResponseModel!.privilegeList ?? []; | 
		
	
		
			
				|  |  |  |  |       if (genericResponseModel.errorMessage != null) { | 
		
	
		
			
				|  |  |  |  |         Utils.showToast(genericResponseModel.errorMessage ?? ""); | 
		
	
		
			
				|  |  |  |  |         //  Navigator.pop(context); | 
		
	
	
		
			
				
					|  |  |  | 
 |