mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-27 22:56:24 +02:00
Fixes newStack bug that was only resetting the stack until the home and not to its own route
This commit is contained in:
@@ -107,7 +107,7 @@ class Nav(
|
||||
override fun newStack(route: Route) {
|
||||
scope.launch {
|
||||
controller.navigate(route) {
|
||||
popUpTo(Route.Home) {
|
||||
popUpTo(route) {
|
||||
inclusive = true
|
||||
}
|
||||
launchSingleTop = true
|
||||
|
Reference in New Issue
Block a user