code undupe go brr
This commit is contained in:
		
							parent
							
								
									373d7281fe
								
							
						
					
					
						commit
						064a9d3f31
					
				
					 1 changed files with 8 additions and 6 deletions
				
			
		|  | @ -76,21 +76,23 @@ fun resources(): Resources { | |||
| 
 | ||||
| fun NavGraphBuilder.studeezGraph(appState: StudeezAppstate) { | ||||
| 
 | ||||
|     val openAndPopUp: (String, String) -> Unit = { | ||||
|             route, popUp -> appState.navigateAndPopUp(route, popUp) | ||||
|     } | ||||
| 
 | ||||
|     composable(StudeezDestinations.SPLASH_SCREEN) { | ||||
|         SplashScreen(openAndPopUp = { route, popUp -> appState.navigateAndPopUp(route, popUp) }) | ||||
|         SplashScreen(openAndPopUp) | ||||
|     } | ||||
| 
 | ||||
|     composable(StudeezDestinations.LOGIN_SCREEN) { | ||||
|         LoginScreen(openAndPopUp = { route, popUp -> appState.navigateAndPopUp(route, popUp) }) | ||||
|         LoginScreen(openAndPopUp) | ||||
|     } | ||||
| 
 | ||||
|     composable(StudeezDestinations.SIGN_UP_SCREEN) { | ||||
|         SignUpScreen(openAndPopUp = { route, popUp -> appState.navigateAndPopUp(route, popUp) }) | ||||
|         SignUpScreen(openAndPopUp) | ||||
|     } | ||||
| 
 | ||||
|     composable(StudeezDestinations.HOME_SCREEN) { | ||||
|         HomeScreen( | ||||
|             openAndPopUp = { route, popUp -> appState.navigateAndPopUp(route, popUp) } | ||||
|         ) | ||||
|         HomeScreen(openAndPopUp) | ||||
|     } | ||||
| } | ||||
		Reference in a new issue
	
	 lbarraga
						lbarraga