mirror of
https://github.com/vector-im/riotX-android
synced 2025-10-06 00:02:48 +02:00
Fix color issues when the system theme is changed (#2738)
This commit is contained in:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user