forked from organicmaps/organicmaps
Merge pull request #1469 from trashkalmar/auto-theme-by-default
[android] fix: Set auto theme by default.
This commit is contained in:
commit
57ce897807
1 changed files with 2 additions and 2 deletions
|
@ -283,11 +283,11 @@ public final class Config
|
|||
|
||||
public static String getUiThemeSettings()
|
||||
{
|
||||
String res = getString(KEY_MISC_UI_THEME_SETTINGS, ThemeUtils.THEME_DEFAULT);
|
||||
String res = getString(KEY_MISC_UI_THEME_SETTINGS, ThemeUtils.THEME_AUTO);
|
||||
if (ThemeUtils.isValidTheme(res) || ThemeUtils.isAutoTheme(res))
|
||||
return res;
|
||||
|
||||
return ThemeUtils.THEME_DEFAULT;
|
||||
return ThemeUtils.THEME_AUTO;
|
||||
}
|
||||
|
||||
public static boolean setUiThemeSettings(String theme)
|
||||
|
|
Loading…
Add table
Reference in a new issue