TF-1142 remove unread/read button in draft folder

This commit is contained in:
sherlock
2022-11-10 14:56:12 +07:00
committed by Dat H. Pham
parent 0052d74406
commit 5724fd4b4e
6 changed files with 46 additions and 35 deletions
+2
View File
@@ -66,6 +66,8 @@ class PresentationEmail with EquatableMixin {
bool get hasStarred => keywords?.containsKey(KeyWordIdentifier.emailFlagged) == true;
bool get isDraft => keywords?.containsKey(KeyWordIdentifier.emailDraft) == true;
bool get withAttachments => hasAttachment == true;
String get mailboxName => mailboxNames?.first?.name ?? '';