TF-2326 Allow display count of total emails for draft folder

(cherry picked from commit 3bb7c65c942c17f2b5a0a2efe2923f26c5ceebd2)
This commit is contained in:
hieubt
2024-01-23 16:41:36 +07:00
committed by Dat H. Pham
parent 57793f9031
commit 6209a1eccd
@@ -51,7 +51,7 @@ extension PresentationMailboxExtension on PresentationMailbox {
bool get allowedToDisplayCountOfUnreadEmails => !(isTrash || isSpam || isDrafts || isTemplates || isSent) && countUnreadEmails > 0;
bool get allowedToDisplayCountOfTotalEmails => (isTrash || isSpam) && countTotalEmails > 0;
bool get allowedToDisplayCountOfTotalEmails => (isTrash || isSpam || isDrafts) && countTotalEmails > 0;
bool get allowedHasEmptyAction => (isTrash || isSpam) && countTotalEmails > 0;