Commit ec0af99a authored by topjohnwu's avatar topjohnwu

Fix locale settings

parent b4d94888
......@@ -136,6 +136,8 @@ public class MagiskManager extends Application {
prefs = PreferenceManager.getDefaultSharedPreferences(this);
suDB = new SuDatabaseHelper(this);
repoDB = new RepoDatabaseHelper(this);
defaultLocale = Locale.getDefault();
setLocale();
loadConfig();
}
......@@ -153,10 +155,6 @@ public class MagiskManager extends Application {
}
public void loadConfig() {
// Locale
defaultLocale = Locale.getDefault();
setLocale();
isDarkTheme = prefs.getBoolean("dark_theme", false);
if (BuildConfig.DEBUG) {
devLogging = prefs.getBoolean("developer_logging", false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment