From 3e8ed8a1715b4a1623c59c03c4b5e5e25187b622 Mon Sep 17 00:00:00 2001 From: len Date: Fri, 29 Sep 2017 20:08:40 +0200 Subject: [PATCH] Also set system locale with the Java API. Closes #978 --- app/src/main/java/eu/kanade/tachiyomi/util/LocaleHelper.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/util/LocaleHelper.kt b/app/src/main/java/eu/kanade/tachiyomi/util/LocaleHelper.kt index df9c038ea..43e5415a3 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/util/LocaleHelper.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/util/LocaleHelper.kt @@ -89,6 +89,8 @@ object LocaleHelper { val newConfig = updateConfigLocale(config, currentLocale!!) val resources = app.resources resources.updateConfiguration(newConfig, resources.displayMetrics) + + Locale.setDefault(currentLocale) } /**