mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-03 09:49:21 +02:00
avoid ANR in MessageSelectorFragment.handleDeleteMessages
This commit is contained in:
parent
3518f3d213
commit
c7bffb85fd
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ public abstract class MessageSelectorFragment
|
|||
|
||||
if(canDeleteForAll) {
|
||||
builder.setNegativeButton(R.string.delete_for_everyone, (d, which) -> {
|
||||
dcContext.sendDeleteRequest(messageIds);
|
||||
Util.runOnAnyBackgroundThread(() -> dcContext.sendDeleteRequest(messageIds));
|
||||
if (actionMode != null) actionMode.finish();
|
||||
});
|
||||
AlertDialog dialog = builder.show();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue