mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-11 18:00:49 +01: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