mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-10-02 20:44:57 +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) {
|
override fun newStack(route: Route) {
|
||||||
scope.launch {
|
scope.launch {
|
||||||
controller.navigate(route) {
|
controller.navigate(route) {
|
||||||
popUpTo(Route.Home) {
|
popUpTo(route) {
|
||||||
inclusive = true
|
inclusive = true
|
||||||
}
|
}
|
||||||
launchSingleTop = true
|
launchSingleTop = true
|
||||||
|
Reference in New Issue
Block a user