parent
cc2fad178f
commit
0df12a588d
|
@ -105,17 +105,13 @@ class DefaultThemeManager : ThemeManager {
|
|||
window: Window,
|
||||
context: Context
|
||||
) {
|
||||
if (android.os.Build.VERSION.SDK_INT > android.os.Build.VERSION_CODES.O) {
|
||||
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.O) {
|
||||
// API level can display handle light navigation bar color
|
||||
window.decorView.systemUiVisibility =
|
||||
window.decorView.systemUiVisibility or
|
||||
View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR or
|
||||
View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR
|
||||
updateNavigationBar(window, context)
|
||||
} else {
|
||||
window.decorView.systemUiVisibility =
|
||||
window.decorView.systemUiVisibility or
|
||||
View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -9,9 +9,6 @@
|
|||
sure we also get them in 27+ -->
|
||||
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||
<item name="android:windowLightStatusBar">@bool/theme_is_light</item>
|
||||
|
||||
<!-- Style the navigation bar -->
|
||||
<item name="android:navigationBarColor">?foundation</item>
|
||||
</style>
|
||||
|
||||
<style name="PrivateTheme" parent="PrivateThemeBase">
|
||||
|
|
Loading…
Reference in New Issue