Merge pull request #1469 from trashkalmar/auto-theme-by-default

[android] fix: Set auto theme by default.
This commit is contained in:
Dmitry Yunitsky 2016-01-19 16:11:04 +03:00
commit 57ce897807

View file

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