From 1af64b99851b13d42567f36b95522356f8bd26ab Mon Sep 17 00:00:00 2001 From: Howard Wu <40033067+Howard20181@users.noreply.github.com> Date: Sat, 5 Nov 2022 00:40:00 +0800 Subject: [PATCH] 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 --- app/src/main/res/values-v29/styles.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/res/values-v29/styles.xml b/app/src/main/res/values-v29/styles.xml index 3ff8bb99..ec435e55 100644 --- a/app/src/main/res/values-v29/styles.xml +++ b/app/src/main/res/values-v29/styles.xml @@ -2,5 +2,7 @@ \ No newline at end of file