mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-03 04:27:35 +01:00
Follow system locale pt.2: immediately apply it
This commit is contained in:
parent
80deb804d5
commit
bce7845f9b
@ -38,7 +38,7 @@ class VectorConfiguration @Inject constructor(private val context: Context) {
|
||||
if (Locale.getDefault().toString() != VectorLocale.applicationLocale.toString()) {
|
||||
Timber.v("## onConfigurationChanged(): the locale has been updated to ${Locale.getDefault()}")
|
||||
Timber.v("## onConfigurationChanged(): restore the expected value ${VectorLocale.applicationLocale}")
|
||||
updateApplicationSettings(VectorLocale.applicationLocale,
|
||||
updateApplicationSettings(Locale.getDefault(),
|
||||
FontScale.getFontScalePrefValue(context),
|
||||
ThemeUtils.getApplicationTheme(context))
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user