Fixes an issue with two home screens interfering with flow collections. For some reason it was only a problem because this route matches the starting route.
This commit is contained in:
@@ -107,7 +107,9 @@ 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.Home) {
|
||||||
|
inclusive = true
|
||||||
|
}
|
||||||
launchSingleTop = true
|
launchSingleTop = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user