Merge pull request #3208 from vector-im/feature/bma/fix_theme_switch
Fix color issues when the system theme is changed (#2738)
This commit is contained in:
commit
215166ab32
|
@ -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