Signed-off-by: Harry Bond <me@hbond.xyz>
This commit is contained in:
Harry Bond 2025-01-19 22:16:05 +00:00
parent 18a4f6eb0e
commit 83801d3e85

View file

@ -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)
{