fix notifyCalls toggle state setting

This commit is contained in:
adbenitez
2026-05-29 15:07:05 +02:00
parent a3a8b3581f
commit 74ef2d478a
@@ -167,7 +167,7 @@ public class NotificationsPreferenceFragment extends ListSummaryPreferenceFragme
notificationsEnabled.setChecked(!dcContext.isMuted());
notificationsEnabled.setSummary(getSummary(getContext(), false));
mentionNotifEnabled.setChecked(dcContext.isMentionsEnabled());
notifyCalls.setChecked(dcContext.getConfig("who_can_call_me") != "2");
notifyCalls.setChecked(!"2".equals(dcContext.getConfig("who_can_call_me")));
// set without altering "unset" state of the preference
reliableService.setOnPreferenceChangeListener(null);