Merge pull request #8160 from vector-im/fix/mna/pref-space-setting-visibility

Space setting category doesn't show up
This commit is contained in:
Maxime NATUREL 2023-02-22 17:59:43 +01:00 committed by GitHub
commit 664fa7f952
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
changelog.d/7989.bugfix Normal file
View file

@ -0,0 +1 @@
Space setting category doesn't show up

View file

@ -103,7 +103,7 @@ class VectorSettingsPreferencesFragment :
}
findPreference<Preference>(VectorPreferences.SETTINGS_PREF_SPACE_CATEGORY)!!.let { pref ->
pref.isVisible = !vectorFeatures.isNewAppLayoutFeatureEnabled()
pref.isVisible = !vectorPreferences.isNewAppLayoutEnabled()
pref.isEnabled = !vectorPreferences.isNewAppLayoutEnabled()
}