mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-15 01:35:07 +08:00
Fix color issues when the system theme is changed (#2738)
This commit is contained in:
parent
19427fbfec
commit
ef1ed28ac5
@ -9,6 +9,7 @@ Improvements 🙌:
|
||||
|
||||
Bugfix 🐛:
|
||||
- Message states cosmetic changes (#3007)
|
||||
- Fix color issues when the system theme is changed (#2738)
|
||||
|
||||
Translations 🗣:
|
||||
-
|
||||
|
@ -39,6 +39,8 @@ class VectorConfiguration @Inject constructor(private val context: Context) {
|
||||
Timber.v("## onConfigurationChanged(): restore the expected value ${VectorLocale.applicationLocale}")
|
||||
Locale.setDefault(VectorLocale.applicationLocale)
|
||||
}
|
||||
// Night mode may have changed
|
||||
ThemeUtils.init(context)
|
||||
}
|
||||
|
||||
fun applyToApplicationContext() {
|
||||
|
Loading…
Reference in New Issue
Block a user