From 83801d3e85d1246a9cb046542160bb9b50a08a4d Mon Sep 17 00:00:00 2001 From: Harry Bond Date: Sun, 19 Jan 2025 22:16:05 +0000 Subject: [PATCH] note Signed-off-by: Harry Bond --- .../app/src/main/java/app/organicmaps/util/ThemeSwitcher.java | 1 + 1 file changed, 1 insertion(+) diff --git a/android/app/src/main/java/app/organicmaps/util/ThemeSwitcher.java b/android/app/src/main/java/app/organicmaps/util/ThemeSwitcher.java index e931c3c319..33182df3dd 100644 --- a/android/app/src/main/java/app/organicmaps/util/ThemeSwitcher.java +++ b/android/app/src/main/java/app/organicmaps/util/ThemeSwitcher.java @@ -117,6 +117,7 @@ public enum ThemeSwitcher // First convert the android-but-dynamic follow system theme. if (ThemeUtils.isSystemTheme(mContext, theme)) { + //TODO: calc in restart() and set only light/dark // Depends on android theme already being calculated and set. resolvedTheme = switch (mContext.getResources().getConfiguration().uiMode & Configuration.UI_MODE_NIGHT_MASK) {