diff --git a/changelog.d/7989.bugfix b/changelog.d/7989.bugfix new file mode 100644 index 0000000000..b8ec7cdada --- /dev/null +++ b/changelog.d/7989.bugfix @@ -0,0 +1 @@ +Space setting category doesn't show up diff --git a/vector/src/main/java/im/vector/app/features/settings/VectorSettingsPreferencesFragment.kt b/vector/src/main/java/im/vector/app/features/settings/VectorSettingsPreferencesFragment.kt index 073d5f7468..01dd014f92 100644 --- a/vector/src/main/java/im/vector/app/features/settings/VectorSettingsPreferencesFragment.kt +++ b/vector/src/main/java/im/vector/app/features/settings/VectorSettingsPreferencesFragment.kt @@ -103,7 +103,7 @@ class VectorSettingsPreferencesFragment : } findPreference(VectorPreferences.SETTINGS_PREF_SPACE_CATEGORY)!!.let { pref -> - pref.isVisible = !vectorFeatures.isNewAppLayoutFeatureEnabled() + pref.isVisible = !vectorPreferences.isNewAppLayoutEnabled() pref.isEnabled = !vectorPreferences.isNewAppLayoutEnabled() }