fix(android) fix incorrect colors on MIUI devices

They "force" a dark mode but we already have a dark palette, so avoid
the system overriding the base colors.

Fixes: https://github.com/jitsi/jitsi-meet/issues/9981
Fixes: https://github.com/jitsi/jitsi-meet/issues/8781
This commit is contained in:
Saúl Ibarra Corretgé 2022-06-03 12:36:51 +02:00 committed by Saúl Ibarra Corretgé
parent b3db9ce6cf
commit 7ac573d628
1 changed files with 1 additions and 2 deletions

View File

@ -1,8 +1,7 @@
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Customize your theme here. -->
<item name="android:editTextBackground">@drawable/rn_edit_text_material</item>
<item name="android:forceDarkAllowed">false</item>
<item name="android:navigationBarColor">@color/colorPrimaryDark</item>
<item name="android:windowDisablePreview">true</item>
</style>