TF-2101 Handle restore deleted messages
(cherry picked from commit e675f98a6c85d9c4a90efc686e6ff72d23b4c678)
This commit is contained in:
@@ -45,6 +45,8 @@ extension PresentationMailboxExtension on PresentationMailbox {
|
||||
|
||||
bool get isArchive => role == PresentationMailbox.roleArchive;
|
||||
|
||||
bool get isRecovered => role == PresentationMailbox.roleRecovered;
|
||||
|
||||
bool get isSubscribedMailbox => isSubscribed != null && isSubscribed?.value == true;
|
||||
|
||||
bool get allowedToDisplayCountOfUnreadEmails => !(isTrash || isSpam || isDrafts || isTemplates || isSent) && countUnreadEmails > 0;
|
||||
|
||||
Reference in New Issue
Block a user