Update app/src/main/java/com/google/samples/apps/nowinandroid/ui/NiaApp.kt

Co-authored-by: Alex Vanyo <vanyo@google.com>
pull/1837/head
Don Turner 3 years ago committed by GitHub
parent f210a1754a
commit 0d7bd9170d

@ -85,8 +85,8 @@ fun NiaApp(
),
) {
val background: @Composable (@Composable () -> Unit) -> Unit =
when (appState.currentDestination?.route) {
TopLevelDestination.FOR_YOU.name -> {
when (appState.currentTopLevelDestination) {
TopLevelDestination.FOR_YOU -> {
content ->
NiaGradientBackground(content = content)
}

Loading…
Cancel
Save