TF-1792 Hide banner empty trash when mailbox trash empty emails
(cherry picked from commit b0533ebb3e480b737a84085d6743eba1b8c897a6)
This commit is contained in:
@@ -79,6 +79,8 @@ class PresentationMailbox with EquatableMixin {
|
||||
return unreadEmails!.value.value <= 999 ? '${unreadEmails!.value.value}' : '999+';
|
||||
}
|
||||
|
||||
int get countEmails => totalEmails?.value.value.toInt() ?? 0;
|
||||
|
||||
bool get isSpam => role == roleSpam;
|
||||
|
||||
bool get isTrash => role == roleTrash;
|
||||
|
||||
Reference in New Issue
Block a user