TF-1915 SendingState of SendingEmail updates according to the work done in WorkManager when network connectivity is restored

(cherry picked from commit 744c8bc8dc8a82cb3afb75aead5a744adaae5501)
This commit is contained in:
dab246
2023-06-09 15:23:22 +07:00
committed by Dat Vu
parent 20168f5e8d
commit 6aa87ff012
51 changed files with 523 additions and 374 deletions
@@ -13,6 +13,7 @@ class EmailRequest with EquatableMixin {
final EmailId? emailIdAnsweredOrForwarded;
final IdentityId? identityId;
final EmailActionType emailActionType;
final String? storedSendingId;
EmailRequest({
required this.email,
@@ -21,6 +22,7 @@ class EmailRequest with EquatableMixin {
this.identityId,
this.emailIdDestroyed,
this.emailIdAnsweredOrForwarded,
this.storedSendingId,
});
@override
@@ -30,7 +32,8 @@ class EmailRequest with EquatableMixin {
identityId,
emailIdDestroyed,
emailIdAnsweredOrForwarded,
emailActionType
emailActionType,
storedSendingId,
];
bool get isEmailAnswered => emailIdAnsweredOrForwarded != null &&