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:
Benoit Marty 2022-09-08 16:54:08 +02:00 committed by GitHub
commit 614383c08d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -582,7 +582,7 @@ class HomeActivity :
}
private fun checkNewAppLayoutFlagChange() {
if (buildMeta.isDebug && vectorPreferences.isNewAppLayoutEnabled() != isNewAppLayoutEnabled) {
if (vectorPreferences.isNewAppLayoutEnabled() != isNewAppLayoutEnabled) {
restart()
}
}