mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-02-16 10:31:07 +00:00
Set forceDarkAllowed to false
Some system like MIUI forced inverse color (which cannot be turned off for games with night mode on) causes games without covers to become white, which like the game title color causes unreadability, this change prevents that problem. ref https://stackoverflow.com/questions/63777438/how-to-avoid-forced-dark-theme-in-my-app-when-devices-can-force-it-at-app-level
This commit is contained in:
committed by
Cameron Gutman
parent
af784cf79b
commit
1af64b9985
@@ -2,5 +2,7 @@
|
||||
<style name="AppBaseTheme" parent="android:Theme.Material">
|
||||
<item name="android:navigationBarColor">@android:color/transparent</item>
|
||||
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||
<!-- Avoid some systems like MIUI which break the visibility of games title -->
|
||||
<item name="android:forceDarkAllowed">false</item>
|
||||
</style>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user