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()
}
override fun bindPref() {
for (preferenceKey in prefKeyToPushRuleId.keys) {
val preference = findPreference<VectorCheckboxPreference>(preferenceKey)!!
@ -141,5 +140,4 @@ abstract class VectorSettingsPushRuleNotificationPreferenceFragment
private fun refreshDisplay() {
listView?.adapter?.notifyDataSetChanged()
}
}