From 524ccbec25add57ca06d7acfd0307aa4d66c9d23 Mon Sep 17 00:00:00 2001 From: Simona Milanovic Date: Mon, 9 Dec 2024 16:21:28 +0000 Subject: [PATCH] Fix default Accounts destination --- .../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 = {