mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-17 08:37:03 +05:30
LobstersApp: don't clear navigation backstack on going back
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
9c10cb02b8
commit
f785031ad8
1 changed files with 0 additions and 1 deletions
|
@ -47,7 +47,6 @@ fun LobstersApp() {
|
|||
val navigateToDestination: (destination: Destination) -> Unit = { destination ->
|
||||
navController.navigate(destination.route) {
|
||||
launchSingleTop = true
|
||||
popUpTo(navController.graph.startDestination) { inclusive = false }
|
||||
}
|
||||
}
|
||||
val jumpToIndex: suspend (Int, Destination) -> Unit = { index, screen ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue