TF-3449 Update Mark as Important state when open draft email and reload page
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -13,6 +13,7 @@ class SavedEmailDraft with EquatableMixin {
|
||||
final List<Attachment> attachments;
|
||||
final Identity? identity;
|
||||
final bool hasReadReceipt;
|
||||
final bool isMarkAsImportant;
|
||||
|
||||
SavedEmailDraft({
|
||||
required this.content,
|
||||
@@ -24,6 +25,7 @@ class SavedEmailDraft with EquatableMixin {
|
||||
required this.attachments,
|
||||
required this.identity,
|
||||
required this.hasReadReceipt,
|
||||
this.isMarkAsImportant = false,
|
||||
});
|
||||
|
||||
factory SavedEmailDraft.empty() {
|
||||
@@ -51,6 +53,7 @@ class SavedEmailDraft with EquatableMixin {
|
||||
{3: replyToRecipients},
|
||||
attachments,
|
||||
identity,
|
||||
hasReadReceipt
|
||||
hasReadReceipt,
|
||||
isMarkAsImportant,
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user