mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 07:06:18 +02:00
Prevent permanent deletion for mixed selection
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user