Make the setting visible when using old app layout

This commit is contained in:
Maxime NATUREL 2023-02-22 16:09:37 +01:00
parent 7062e0737c
commit 8861b36aba
1 changed files with 1 additions and 1 deletions

View File

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