Skip to content

Commit b86fdd5

Browse files
authored
Fix start destination of SwipeDismissableNavHost to Player destination (#2542)
navigation got stricter, so fix the destination which should never have been the route pattern.
1 parent 3134f15 commit b86fdd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

media/ui/src/main/java/com/google/android/horologist/media/ui/navigation/MediaPlayerScaffold.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public fun MediaPlayerScaffold(
8585
timeText = { timeText() },
8686
) {
8787
SwipeDismissableNavHost(
88-
startDestination = NavigationScreens.Player.navRoute,
88+
startDestination = NavigationScreens.Player.playerDestination(),
8989
navController = navController,
9090
modifier = modifier.background(Color.Transparent),
9191
state = navHostState,

0 commit comments

Comments
 (0)