Prevent permanent deletion for mixed selection

This commit is contained in:
M66B 2023-08-12 15:11:18 +02:00
parent f383b27745
commit 72b3c42f45
1 changed files with 1 additions and 1 deletions

View File

@ -10606,7 +10606,7 @@ public class FragmentMessages extends FragmentBase
boolean canDelete() {
if (read_only)
return false;
return (!hasPop || !Boolean.TRUE.equals(leave_deleted) || !isInbox);
return (!hasPop || !Boolean.TRUE.equals(leave_deleted) || (isTrash || isDrafts || isSent));
}
boolean canMove() {