Fix forced inverted colors on Xiaomi phones

MIUI inverts the colors of the app it thinks doesn't implement dark
themes correctly. Also, it inverts the colors in the dumbest possible
way: it doesn't invert all the colors the same way.

It thinks that presumably because I don't use the Material base themes.
This commit is contained in:
Jules Aguillon 2022-02-13 11:45:13 +01:00
parent 6ab6a6811b
commit adb77466f5

View File

@ -23,6 +23,7 @@
</declare-styleable>
<style name="Dark">
<item name="android:isLightTheme">false</item>
<item name="android:forceDarkAllowed">false</item>
<item name="colorKeyboard">#1B1B1B</item>
<item name="colorKey">#303030</item>
<item name="colorKeyActivated">#1B1B1B</item>
@ -54,6 +55,7 @@
</style>
<style name="Black">
<item name="android:isLightTheme">false</item>
<item name="android:forceDarkAllowed">false</item>
<item name="colorKeyboard">#000000</item>
<item name="colorKey">#000000</item>
<item name="colorKeyActivated">#333333</item>