Also set system locale with the Java API. Closes #978
This commit is contained in:
parent
8307daee63
commit
3e8ed8a171
@ -89,6 +89,8 @@ object LocaleHelper {
|
||||
val newConfig = updateConfigLocale(config, currentLocale!!)
|
||||
val resources = app.resources
|
||||
resources.updateConfiguration(newConfig, resources.displayMetrics)
|
||||
|
||||
Locale.setDefault(currentLocale)
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user