mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
Delete all selected contacts not always working #81
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user