From 247fb1a357c0ff1dae7f9820828636e2e00e728a Mon Sep 17 00:00:00 2001 From: "daniel.boehrs" Date: Tue, 9 Oct 2018 15:47:38 +0200 Subject: [PATCH] Delete all selected contacts not always working #81 --- .../thoughtcrime/securesms/ContactSelectionListFragment.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/org/thoughtcrime/securesms/ContactSelectionListFragment.java b/src/org/thoughtcrime/securesms/ContactSelectionListFragment.java index 576cb5064..2d50abf3a 100644 --- a/src/org/thoughtcrime/securesms/ContactSelectionListFragment.java +++ b/src/org/thoughtcrime/securesms/ContactSelectionListFragment.java @@ -182,9 +182,6 @@ public class ContactSelectionListFragment extends Fragment int contactId = actionModeSelection.valueAt(index); boolean currentFailed = DcHelper.getContext(getContext()).deleteContact(contactId) == 0; failed = currentFailed || failed; - if (!currentFailed) { - adapter.removeActionModeSelection(contactId); - } } if (failed) { Toast.makeText(getActivity(), R.string.ContactSelectionListFragment_error_deleting_contacts_check_existing_conversations, Toast.LENGTH_LONG).show();