This commit is contained in:
David Langley 2021-07-28 09:34:15 +01:00
parent 7405d501f6
commit 886bd3cc8f

View file

@ -92,7 +92,6 @@ abstract class VectorSettingsPushRuleNotificationPreferenceFragment
return rule.enabled && !rule.shouldNotNotify() return rule.enabled && !rule.shouldNotNotify()
} }
override fun bindPref() { override fun bindPref() {
for (preferenceKey in prefKeyToPushRuleId.keys) { for (preferenceKey in prefKeyToPushRuleId.keys) {
val preference = findPreference<VectorCheckboxPreference>(preferenceKey)!! val preference = findPreference<VectorCheckboxPreference>(preferenceKey)!!
@ -141,5 +140,4 @@ abstract class VectorSettingsPushRuleNotificationPreferenceFragment
private fun refreshDisplay() { private fun refreshDisplay() {
listView?.adapter?.notifyDataSetChanged() listView?.adapter?.notifyDataSetChanged()
} }
} }