TF-2233 Remove mark as read for trash folder

(cherry picked from commit 038be7af433169cff7edc90c39018907b7c6c82c)
This commit is contained in:
hieubt
2023-10-24 22:18:06 +07:00
committed by Dat H. Pham
parent b0e6975012
commit 88a29784a4
@@ -41,7 +41,7 @@ mixin MailboxWidgetMixin {
MailboxActions.newSubfolder,
if (mailbox.isSpam)
_mailboxActionForSpam(spamReportEnabled),
if (mailbox.countUnReadEmailsAsString.isNotEmpty)
if (!mailbox.isTrash && mailbox.countUnReadEmailsAsString.isNotEmpty)
MailboxActions.markAsRead,
if (mailbox.isTrash)
MailboxActions.emptyTrash,