From 448555436d82cd08b29403e75b62d85fcda46e01 Mon Sep 17 00:00:00 2001 From: Simona <35065668+simona-anomis@users.noreply.github.com> Date: Mon, 9 Dec 2024 17:52:10 +0000 Subject: [PATCH] Fix default Accounts destination (#507) --- .../src/main/java/com/example/compose/rally/RallyActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NavigationCodelab/app/src/main/java/com/example/compose/rally/RallyActivity.kt b/NavigationCodelab/app/src/main/java/com/example/compose/rally/RallyActivity.kt index 8fda762ed..84116f333 100644 --- a/NavigationCodelab/app/src/main/java/com/example/compose/rally/RallyActivity.kt +++ b/NavigationCodelab/app/src/main/java/com/example/compose/rally/RallyActivity.kt @@ -49,7 +49,7 @@ fun RallyApp() { val currentBackStack by navController.currentBackStackEntryAsState() val currentDestination = currentBackStack?.destination val currentScreen = - rallyTabRowScreens.find { it.route == currentDestination?.route } ?: Overview + rallyTabRowScreens.find { it.route == currentDestination?.route } ?: Accounts Scaffold( topBar = {