TF-1865: Update UI and replace task in workmanager when update sending email

(cherry picked from commit 15168421c994c5f928873e0794bcbf0c36b015c9)
This commit is contained in:
HuyNguyen
2023-06-06 01:30:43 +07:00
committed by Dat Vu
parent 9ca0c7385a
commit ee6bf907ff
13 changed files with 206 additions and 170 deletions
+2 -1
View File
@@ -161,7 +161,8 @@ extension EmailExtension on Email {
mailboxIds: mailboxIds,
selectMode: selectMode,
emailHeader: headers?.toList(),
bodyValues: bodyValues
bodyValues: bodyValues,
htmlBody: htmlBody
);
}
}
@@ -82,19 +82,21 @@ extension PresentationEmailExtension on PresentationEmail {
Email toEmail() {
return Email(
id: this.id,
keywords: keywords,
size: size,
receivedAt: receivedAt,
hasAttachment: hasAttachment,
preview: preview,
subject: subject,
sentAt: sentAt,
from: from,
to: to,
cc: cc,
bcc: bcc,
replyTo: replyTo
id: this.id,
keywords: keywords,
size: size,
receivedAt: receivedAt,
hasAttachment: hasAttachment,
preview: preview,
subject: subject,
sentAt: sentAt,
from: from,
to: to,
cc: cc,
bcc: bcc,
replyTo: replyTo,
htmlBody: htmlBody,
bodyValues: bodyValues,
);
}