openAndPopUp function as argument for prim. screen
This commit is contained in:
		
							parent
							
								
									4e9aab73c2
								
							
						
					
					
						commit
						71a42a28e2
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -16,7 +16,7 @@ fun HomeScreen(
 | 
			
		|||
) {
 | 
			
		||||
    PrimaryScreenTemplate(
 | 
			
		||||
        title = resources().getString(R.string.home),
 | 
			
		||||
        onLogoutClick = { viewModel.onLogoutClick(openAndPopUp) }
 | 
			
		||||
        openAndPopUp = openAndPopUp
 | 
			
		||||
    ) {
 | 
			
		||||
        BasicButton(R.string.start_session, Modifier.basicButton()) {
 | 
			
		||||
            viewModel.onStartSessionClick(openAndPopUp)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue