Fixed system theme with locale

This commit is contained in:
M66B 2021-07-13 14:18:08 +02:00
parent 5b4a5eab58
commit 9fbb534da4
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ public class ApplicationEx extends Application
if (language != null) {
Locale locale = Locale.forLanguageTag(language);
Locale.setDefault(locale);
Configuration config = new Configuration(context.getResources().getConfiguration());
Configuration config = new Configuration();
config.setLocale(locale);
return context.createConfigurationContext(config);
}