mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
fix: Don't hardcode status bar color
This commit is contained in:
parent
8a9d8166af
commit
9bb869111d
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ fun YokaiScaffold(
|
|||
SideEffect {
|
||||
val activity = view.context as Activity
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
|
||||
activity.window.statusBarColor = color.toArgb()
|
||||
//activity.window.statusBarColor = color.toArgb()
|
||||
WindowInsetsControllerCompat(activity.window, view).isAppearanceLightStatusBars = useDarkIcons
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue