We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38e7199 commit fa95ae6Copy full SHA for fa95ae6
1 file changed
app/src/main/java/com/anysoftkeyboard/janus/app/ui/theme/JanusTheme.kt
@@ -54,8 +54,8 @@ fun JanusTheme(
54
if (!view.isInEditMode) {
55
SideEffect {
56
val window = (view.context as Activity).window
57
- window.statusBarColor = colorScheme.primary.toArgb()
58
- WindowCompat.getInsetsController(window, view).isAppearanceLightStatusBars = darkTheme
+ window.statusBarColor = colorScheme.background.toArgb()
+ WindowCompat.getInsetsController(window, view).isAppearanceLightStatusBars = !darkTheme
59
}
60
61
0 commit comments