Make the setting visible when using old app layout
This commit is contained in:
parent
7062e0737c
commit
8861b36aba
|
@ -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()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue