mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-15 01:35:07 +08:00
Merge pull request #7081 from vector-im/bugfix/nfe/app_layout_feature_flag_restart
restart HomeActivity when app layout flag is changed
This commit is contained in:
commit
614383c08d
@ -582,7 +582,7 @@ class HomeActivity :
|
||||
}
|
||||
|
||||
private fun checkNewAppLayoutFlagChange() {
|
||||
if (buildMeta.isDebug && vectorPreferences.isNewAppLayoutEnabled() != isNewAppLayoutEnabled) {
|
||||
if (vectorPreferences.isNewAppLayoutEnabled() != isNewAppLayoutEnabled) {
|
||||
restart()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user