Update locale usage
This commit is contained in:
@@ -43,7 +43,7 @@ class Application : Application() {
|
|||||||
|
|
||||||
// Seq.setContext(this)
|
// Seq.setContext(this)
|
||||||
runCatching {
|
runCatching {
|
||||||
Libbox.setLocale(Locale.getDefault().toLanguageTag().replace("-", "_"))
|
Libbox.setLocale(Locale.getDefault().toLanguageTag())
|
||||||
}.onFailure {
|
}.onFailure {
|
||||||
Log.d("Application", "set locale: ${it.message}")
|
Log.d("Application", "set locale: ${it.message}")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user