Skip to content

Commit

Permalink
Fix status bar color
Browse files Browse the repository at this point in the history
  • Loading branch information
greenart7c3 committed Nov 4, 2024
1 parent addcfac commit 7175956
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ fun CitrineTheme(
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.VANILLA_ICE_CREAM) {
window.statusBarColor = colorScheme.primary.toArgb()
}
WindowCompat.getInsetsController(window, view).isAppearanceLightStatusBars = darkTheme
WindowCompat.getInsetsController(window, view).isAppearanceLightStatusBars = !darkTheme
}
}

Expand Down

0 comments on commit 7175956

Please sign in to comment.