@ -57,7 +57,8 @@ class AuthenticationViewModel extends ChangeNotifier {
 
		
	
		
			
				    required  NavigationService  navigationService , 
 
		
	
		
			
				    required  CacheService  cacheService , 
 
		
	
		
			
				    required  LocalAuthService  localAuthService , 
 
		
	
		
			
				  } )   :  _navigationService  =  navigationService , 
 
		
	
		
			
				  } ) 
 
		
	
		
			
				      :  _navigationService  =  navigationService , 
 
		
	
		
			
				        _dialogService  =  dialogService , 
 
		
	
		
			
				        _errorHandlerService  =  errorHandlerService , 
 
		
	
		
			
				        _appState  =  appState , 
 
		
	
	
		
			
				
					
						
							
								 
						
						
							
								 
						
						
					 
				
			
			@ -298,7 +299,8 @@ class AuthenticationViewModel extends ChangeNotifier {
 
		
	
		
			
				    final  result  =  await  _authenticationRepo . checkPatientAuthentication ( checkPatientAuthenticationReq:  checkPatientAuthenticationReq ) ; 
 
		
	
		
			
				
 
		
	
		
			
				    result . fold ( 
 
		
	
		
			
				      ( failure )  async  = >  await  _errorHandlerService . handleError ( 
 
		
	
		
			
				          ( failure )  async  = > 
 
		
	
		
			
				      await  _errorHandlerService . handleError ( 
 
		
	
		
			
				          failure:  failure , 
 
		
	
		
			
				          onUnHandledFailure:  ( failure )  async  { 
 
		
	
		
			
				            LoaderBottomSheet . hideLoader ( ) ; 
 
		
	
	
		
			
				
					
						
							
								 
						
						
							
								 
						
						
					 
				
			
			@ -441,7 +443,8 @@ class AuthenticationViewModel extends ChangeNotifier {
 
		
	
		
			
				      LoaderBottomSheet . hideLoader ( ) ; 
 
		
	
		
			
				
 
		
	
		
			
				      resultEither . fold ( 
 
		
	
		
			
				          ( failure )  async  = >  await  _errorHandlerService . handleError ( 
 
		
	
		
			
				              ( failure )  async  = > 
 
		
	
		
			
				          await  _errorHandlerService . handleError ( 
 
		
	
		
			
				              failure:  failure , 
 
		
	
		
			
				              onUnHandledFailure:  ( failure )  async  { 
 
		
	
		
			
				                LoaderBottomSheet . hideLoader ( ) ; 
 
		
	
	
		
			
				
					
						
							
								 
						
						
							
								 
						
						
					 
				
			
			@ -468,7 +471,8 @@ class AuthenticationViewModel extends ChangeNotifier {
 
		
	
		
			
				      final  resultEither  =  await  _authenticationRepo . checkActivationCodeRepo ( newRequest:  CheckActivationCodeRegisterReq . fromJson ( request ) ,  activationCode:  activationCode ,  isRegister:  false ) ; 
 
		
	
		
			
				
 
		
	
		
			
				      resultEither . fold ( 
 
		
	
		
			
				          ( failure )  async  = >  await  _errorHandlerService . handleError ( 
 
		
	
		
			
				              ( failure )  async  = > 
 
		
	
		
			
				          await  _errorHandlerService . handleError ( 
 
		
	
		
			
				              failure:  failure , 
 
		
	
		
			
				              onUnHandledFailure:  ( failure )  async  { 
 
		
	
		
			
				                LoaderBottomSheet . hideLoader ( ) ; 
 
		
	
	
		
			
				
					
						
							
								 
						
						
							
								 
						
						
					 
				
			
			@ -878,7 +882,7 @@ class AuthenticationViewModel extends ChangeNotifier {
 
		
	
		
			
				            message:  apiResponse . errorMessage  ? ?  " " , 
 
		
	
		
			
				            label:  LocaleKeys . notice . tr ( ) , 
 
		
	
		
			
				            onOkPressed:  ( )  { 
 
		
	
		
			
				              _dialogService . showPhoneNumberPickerSheet ( ( )  { 
 
		
	
		
			
				              _dialogService . showPhoneNumberPickerSheet ( label:" Where would you like to receive OTP? " ,  message: " Please select from the below options to receive OTP. " ,   onSMSPress: ( )  { 
 
		
	
		
			
				                checkUserAuthentication ( otpTypeEnum:  OTPTypeEnum . sms ) ; 
 
		
	
		
			
				              } ,  onWhatsappPress:  ( )  { 
 
		
	
		
			
				                checkUserAuthentication ( otpTypeEnum:  OTPTypeEnum . whatsapp ) ;