mirror of https://github.com/M66B/FairEmail.git
Prevent permanent deletion for mixed selection
This commit is contained in:
parent
f383b27745
commit
72b3c42f45
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue