forked from organicmaps/organicmaps
note
Signed-off-by: Harry Bond <me@hbond.xyz>
This commit is contained in:
parent
18a4f6eb0e
commit
83801d3e85
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue