Hotfix conflict role Spam/Junk

This commit is contained in:
dab246
2024-08-14 17:04:43 +07:00
committed by Dat H. Pham
parent b5e3881ad4
commit 4d045bbf1a
33 changed files with 519 additions and 172 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ extension MailboxExtension on Mailbox {
bool hasRole() => role != null && role!.value.isNotEmpty;
bool get isSpam => role == PresentationMailbox.roleSpam;
bool get isSpam => role == PresentationMailbox.roleSpam || role == PresentationMailbox.roleJunk;
bool get isTrash => role == PresentationMailbox.roleTrash;