Unified the access keys to the preferences

This commit is contained in:
CappielloAntonio 2021-12-06 11:10:28 +01:00
parent bcc95f2ef0
commit 478ecdd3bb
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@ public class App extends Application {
CrashReporter.initialize(this);
SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(getApplicationContext());
String themePref = sharedPreferences.getString("theme", ThemeHelper.DEFAULT_MODE);
String themePref = sharedPreferences.getString(PreferenceUtil.THEME, ThemeHelper.DEFAULT_MODE);
ThemeHelper.applyTheme(themePref);
}