adds the key to avoid applying to a separate navcontroller
This commit is contained in:
@@ -100,7 +100,7 @@ fun AppNavigation(
|
||||
) {
|
||||
val scope = rememberCoroutineScope()
|
||||
val nav =
|
||||
remember {
|
||||
remember(navController) {
|
||||
{ route: String ->
|
||||
scope.launch {
|
||||
if (getRouteWithArguments(navController) != route) {
|
||||
|
||||
Reference in New Issue
Block a user