#54 go to homescreen if user is already logged in
This commit is contained in:
		
							parent
							
								
									aac66923ca
								
							
						
					
					
						commit
						b054181486
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -19,8 +19,7 @@ class SplashViewModel @Inject constructor( | ||||||
| 
 | 
 | ||||||
|         showError.value = false |         showError.value = false | ||||||
|         if (accountDAO.hasUser) { |         if (accountDAO.hasUser) { | ||||||
|             // TODO this should go to the home page |             openAndPopUp(StudeezDestinations.HOME_SCREEN, StudeezDestinations.SPLASH_SCREEN) | ||||||
|             openAndPopUp(StudeezDestinations.SIGN_UP_SCREEN, StudeezDestinations.SPLASH_SCREEN) |  | ||||||
|         } else{ |         } else{ | ||||||
|             openAndPopUp(StudeezDestinations.SIGN_UP_SCREEN, StudeezDestinations.SPLASH_SCREEN) |             openAndPopUp(StudeezDestinations.SIGN_UP_SCREEN, StudeezDestinations.SPLASH_SCREEN) | ||||||
|         } |         } | ||||||
|  |  | ||||||
		Reference in a new issue
	
	 lbarraga
						lbarraga