mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-03 09:49:21 +02:00
Merge pull request #3879 from deltachat/adb/issue-3878
call dcContext.deleteMsgs() in background thread
This commit is contained in:
commit
5ff869cd4a
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ public abstract class MessageSelectorFragment
|
|||
.setCancelable(true)
|
||||
.setNeutralButton(android.R.string.cancel, null)
|
||||
.setPositiveButton(positiveBtnLabel, (d, which) -> {
|
||||
dcContext.deleteMsgs(messageIds);
|
||||
Util.runOnAnyBackgroundThread(() -> dcContext.deleteMsgs(messageIds));
|
||||
if (actionMode != null) actionMode.finish();
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue