mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-17 08:37:03 +05:30
Merge #185
185: Preserve backstack in navigation r=msfjarvis a=msfjarvis bors r+ Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
commit
4e73075728
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