Skip to content

Commit

Permalink
Fixes click on the Home to update the feed
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorpamplona committed May 23, 2023
1 parent 2082c6c commit d355f22
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -163,7 +163,7 @@ private fun RowScope.HasNewItemsIcon(
val newRoute = route.route.replace("{scrollToTop}", "true")
navController.navigate(newRoute) {
navController.graph.startDestinationRoute?.let { start ->
popUpTo(start) { inclusive = newRoute == Route.Home.route }
popUpTo(start) { inclusive = route.route == Route.Home.route }
restoreState = true
}

Expand Down

0 comments on commit d355f22

Please sign in to comment.