mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-14 23:15:06 +01:00
Disallow forced dark mode, such as MIUI's
This commit is contained in:
parent
37fdf4d434
commit
f4f1efe5fa
@ -14,6 +14,8 @@
|
|||||||
<item name="windowActionBar">false</item>
|
<item name="windowActionBar">false</item>
|
||||||
<item name="windowNoTitle">true</item>
|
<item name="windowNoTitle">true</item>
|
||||||
|
|
||||||
|
<item name="android:forceDarkAllowed" tools:targetApi="Q">false</item>
|
||||||
|
|
||||||
<!-- Theme colors -->
|
<!-- Theme colors -->
|
||||||
<item name="colorPrimary">@color/md_white_1000</item>
|
<item name="colorPrimary">@color/md_white_1000</item>
|
||||||
<item name="colorOnPrimary">@color/md_black_1000</item>
|
<item name="colorOnPrimary">@color/md_black_1000</item>
|
||||||
@ -46,7 +48,7 @@
|
|||||||
<!-- Themes -->
|
<!-- Themes -->
|
||||||
<item name="android:statusBarColor">?attr/colorPrimary</item>
|
<item name="android:statusBarColor">?attr/colorPrimary</item>
|
||||||
<item name="android:navigationBarColor">?attr/colorPrimary</item>
|
<item name="android:navigationBarColor">?attr/colorPrimary</item>
|
||||||
<item name="android:enforceNavigationBarContrast" tools:targetApi="29">false</item>
|
<item name="android:enforceNavigationBarContrast" tools:targetApi="Q">false</item>
|
||||||
<item name="windowActionModeOverlay">true</item>
|
<item name="windowActionModeOverlay">true</item>
|
||||||
<item name="elevationOverlayEnabled">false</item>
|
<item name="elevationOverlayEnabled">false</item>
|
||||||
<item name="actionModeStyle">@style/Theme.ActionMode</item>
|
<item name="actionModeStyle">@style/Theme.ActionMode</item>
|
||||||
@ -141,7 +143,7 @@
|
|||||||
<!-- Themes -->
|
<!-- Themes -->
|
||||||
<item name="android:statusBarColor">?attr/colorPrimary</item>
|
<item name="android:statusBarColor">?attr/colorPrimary</item>
|
||||||
<item name="android:navigationBarColor">?attr/colorPrimary</item>
|
<item name="android:navigationBarColor">?attr/colorPrimary</item>
|
||||||
<item name="android:enforceNavigationBarContrast" tools:targetApi="29">false</item>
|
<item name="android:enforceNavigationBarContrast" tools:targetApi="Q">false</item>
|
||||||
<item name="windowActionModeOverlay">true</item>
|
<item name="windowActionModeOverlay">true</item>
|
||||||
<item name="elevationOverlayEnabled">false</item>
|
<item name="elevationOverlayEnabled">false</item>
|
||||||
<item name="actionModeStyle">@style/Theme.ActionMode</item>
|
<item name="actionModeStyle">@style/Theme.ActionMode</item>
|
||||||
|
Loading…
Reference in New Issue
Block a user