Update navigation/src/main/kotlin/com/google/samples/apps/nowinandroid/navigation/Utils.kt

Fix typo

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
pull/2046/head
Jaehwa Noh 2 weeks ago committed by GitHub
parent 48cc33cffe
commit 3e0df84243
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -36,4 +36,4 @@ fun getTopLevelNavKeysWithUnreadResources(
fun getNavigationState(): NavigationState =
rememberNavigationState(startKey = ForYouNavKey, topLevelKeys = TOP_LEVEL_NAV_ITEMS.keys)
fun NavigationState.shouldShowGradiantBackground(): Boolean = currentTopLevelKey == ForYouNavKey
fun NavigationState.shouldShowGradientBackground(): Boolean = currentTopLevelKey == ForYouNavKey

Loading…
Cancel
Save