1
0
Fork 0
mirror of https://github.com/Corewala/Buran synced 2025-01-03 05:34:28 +00:00

Made settings summary blocks act consistently

This commit is contained in:
Corewala 2021-12-08 12:58:23 -05:00
parent e1621bb61a
commit aba73330f3

View file

@ -178,10 +178,7 @@ class SettingsFragment: PreferenceFragmentCompat(), Preference.OnPreferenceChang
//Accessibility - code blocks
val aboutCodeBlocksPref = Preference(context)
aboutCodeBlocksPref.key = "unused_accessibility_pref"
aboutCodeBlocksPref.summary = getString(R.string.collapse_code_blocks_about)
aboutCodeBlocksPref.isPersistent = false
aboutCodeBlocksPref.isSelectable = false
accessibilityCategory.addPreference(aboutCodeBlocksPref)
val collapseCodeBlocksPreference = SwitchPreferenceCompat(context)