mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-28 00:37:58 +03:00
Also set system locale with the Java API. Closes #978
This commit is contained in:
parent
8307daee63
commit
3e8ed8a171
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue