File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/src/main/java/com/mumbicodes/projectie/presentation/designsystem/theme Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -91,10 +91,10 @@ fun ProjectTrackingTheme(
9191 SideEffect {
9292 val window = (view.context as Activity ).window
9393 val insets = WindowCompat .getInsetsController(window, view)
94- window.statusBarColor = if (darkTheme) DarkColorPalette .background.toArgb() else LightColorPalette .background.toArgb() // choose a status bar color
95- // window.navigationBarColor = LightColorPalette.surface.toArgb() // choose a navigation bar color
94+ window.statusBarColor = colors.background.toArgb() // choose a status bar color
9695 insets.isAppearanceLightStatusBars = ! darkTheme
97- // insets.isAppearanceLightNavigationBars = !darkTheme
96+ window.navigationBarColor = colors.background.toArgb() // choose a navigation bar color
97+ insets.isAppearanceLightNavigationBars = ! darkTheme
9898 }
9999 }
100100
You can’t perform that action at this time.
0 commit comments