fix light/dark mode with Android system dark theme enabled (like as MIUI etc)

This commit is contained in:
Skalii 2021-02-26 04:20:02 +02:00
parent 428327c2cd
commit 8536aacdd7

View file

@ -250,6 +250,8 @@
<item name="image_help_announcement_time">@drawable/img_help_announcement_time_day</item>
<item name="switch_button_active">@color/switch_button_active_light</item>
<item name="bottom_navigation_item_background">@drawable/bottom_navigation_item_bg_light</item>
<item name="android:forceDarkAllowed">false</item>
</style>
<style name="ToolbarStyle" parent="@style/Widget.AppCompat.Toolbar">
@ -549,6 +551,8 @@
<item name="image_help_announcement_time">@drawable/img_help_announcement_time_night</item>
<item name="switch_button_active">@color/switch_button_active_dark</item>
<item name="bottom_navigation_item_background">@drawable/bottom_navigation_item_bg_dark</item>
<item name="android:forceDarkAllowed">false</item>
</style>
<style name="FreeVersionBanner" parent="OsmandDarkTheme">