TF-1414: [Presentation] Create new UI and implement get AllMailBox and Subscribe Mailbox

This commit is contained in:
HuyNguyen
2023-02-11 19:19:02 +07:00
committed by Dat Vu
parent c93dbda2bb
commit 34fedb9e3f
17 changed files with 836 additions and 7 deletions
@@ -89,6 +89,8 @@ class PresentationMailbox with EquatableMixin {
bool get isOutbox => name == lowerCaseOutboxMailboxName || role == roleOutbox;
bool get isSubscribedMailbox => isSubscribed != null && isSubscribed?.value == true;
bool matchCountingRules() {
if (isTrash || isDrafts || isTemplates || isSent) {
return false;