Fix SC-Light status for API 21-22

This commit is contained in:
SpiritCroc 2020-08-12 14:22:17 +02:00
parent 23bf6b9ffa
commit db6e85b120
2 changed files with 2 additions and 1 deletions

View File

@ -51,7 +51,7 @@
<style name="AppTheme.SC.Light.v21" parent="AppTheme.Base.SC.Light">
<!-- Use dark color, to have enough contrast with icons color. windowLightStatusBar is only available in API 23+ -->
<item name="android:statusBarColor">@color/riotx_header_panel_background_light</item>
<item name="android:statusBarColor">@color/riotx_header_panel_background_dark</item>
<!-- Use dark color, to have enough contrast with icons color. windowLightNavigationBar is only available in API 27+ -->
<item name="android:navigationBarColor">@color/background_black_sc</item>

View File

@ -18,6 +18,7 @@
</style>
<style name="AppTheme.SC.Light.v23" parent="AppTheme.SC.Light.v21">
<item name="android:statusBarColor">@color/riotx_header_panel_background_light</item>
<item name="android:windowLightStatusBar">true</item>
</style>