Skip to content

Commit

Permalink
Merge pull request #296 from KelindiCorp/main
Browse files Browse the repository at this point in the history
REPLACE_ROOT presentation - popUpTo to controller.graph.id (inclusive)
  • Loading branch information
jayohms authored Feb 23, 2024
2 parents c0d05e7 + 294b181 commit 8556f9d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ internal class TurboNavRule(
// Use separate NavOptions if we need to pop up to the new root destination
if (newPresentation == TurboNavPresentation.REPLACE_ROOT && newDestination != null) {
return navOptions {
popUpTo(newDestination.id) { inclusive = true }
popUpTo(controller.graph.id) { inclusive = true }
}
}

Expand Down

0 comments on commit 8556f9d

Please sign in to comment.