]> gitweb.fperrin.net Git - Dictionary.git/commitdiff
Switch to themeSystem as default.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 6 Jun 2020 14:35:31 +0000 (16:35 +0200)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 6 Jun 2020 14:35:31 +0000 (16:35 +0200)
src/com/hughes/android/dictionary/DictionaryApplication.java

index 840f8ffa30ce7523d7c517155f835049a9edcc56..7ac45aeabfd2283ba590909a233c17dc044f86d3 100644 (file)
@@ -311,7 +311,7 @@ public enum DictionaryApplication {
 
     public Theme getSelectedTheme() {
         final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(appContext);
-        final String theme = prefs.getString(appContext.getString(R.string.themeKey), "themeLight");
+        final String theme = prefs.getString(appContext.getString(R.string.themeKey), "themeSystem");
         if (theme.equals("themeLight")) {
             return Theme.LIGHT;
         } else if (theme.equals("themeSystem")) {