Improved navigation to home screen
This commit is contained in:
@ -260,7 +260,9 @@ class MainActivity : ComponentActivity() {
|
||||
navController.navigate(route)
|
||||
}
|
||||
is NavigationCommand.NavigateToHome -> {
|
||||
navController.navigate("main")
|
||||
navController.navigate("main") {
|
||||
popUpTo("main") { inclusive = true }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user