Skip to content

Commit 4485554

Browse files
Fix default Accounts destination (#507)
1 parent cbf3bd1 commit 4485554

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NavigationCodelab/app/src/main/java/com/example/compose/rally/RallyActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ fun RallyApp() {
4949
val currentBackStack by navController.currentBackStackEntryAsState()
5050
val currentDestination = currentBackStack?.destination
5151
val currentScreen =
52-
rallyTabRowScreens.find { it.route == currentDestination?.route } ?: Overview
52+
rallyTabRowScreens.find { it.route == currentDestination?.route } ?: Accounts
5353

5454
Scaffold(
5555
topBar = {

0 commit comments

Comments
 (0)