Skip to content

Commit 652d65b

Browse files
committed
修复深色模式下状态栏字体和图标着色问题 close #354
1 parent cc39e97 commit 652d65b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • app/src/main/java/remix/myplayer/ui/theme

app/src/main/java/remix/myplayer/ui/theme/Theme.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ fun APlayerTheme(
6767
SideEffect {
6868
val window = (view.context as Activity).window
6969
// window.statusBarColor = colorScheme.primary.toArgb()
70-
WindowCompat.getInsetsController(window, view).isAppearanceLightStatusBars = darkTheme
70+
WindowCompat.getInsetsController(window, view).isAppearanceLightStatusBars = theme.isLight
7171
}
7272
}
7373

0 commit comments

Comments
 (0)