mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-11 19:43:11 +02:00
Added POP3 trash folder
This commit is contained in:
@@ -1548,11 +1548,13 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
|
||||
boolean move = !(message.folderReadOnly || message.uid == null);
|
||||
boolean archive = (move && (hasArchive && !inArchive));
|
||||
boolean trash = (move || outbox || debug);
|
||||
boolean trash = (move || outbox || debug ||
|
||||
message.accountProtocol == EntityAccount.TYPE_POP);
|
||||
boolean junk = (move && (hasJunk && !inJunk));
|
||||
boolean unjunk = (move && inJunk);
|
||||
|
||||
final boolean delete = (inTrash || !hasTrash || outbox || message.uid == null);
|
||||
final boolean delete = (inTrash || !hasTrash || outbox ||
|
||||
message.uid == null || message.accountProtocol == EntityAccount.TYPE_POP);
|
||||
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
boolean button_archive_trash = prefs.getBoolean("button_archive_trash", true);
|
||||
|
||||
Reference in New Issue
Block a user