TF-1915 Updating correctly state sending email when work manager running
(cherry picked from commit 60b5683cddc2f8c026935528002c736f74018798)
This commit is contained in:
@@ -43,7 +43,7 @@ class SendingEmail with EquatableMixin {
|
||||
this.mailboxNameRequest,
|
||||
this.creationIdRequest,
|
||||
this.selectMode = SelectMode.INACTIVE,
|
||||
this.sendingState = SendingState.ready
|
||||
this.sendingState = SendingState.waiting
|
||||
});
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
@@ -99,9 +99,7 @@ class SendingEmail with EquatableMixin {
|
||||
|
||||
bool get isSelected => selectMode == SelectMode.ACTIVE;
|
||||
|
||||
bool get isDelivering => sendingState == SendingState.delivering;
|
||||
|
||||
bool get isReady => sendingState == SendingState.ready;
|
||||
bool get isWaiting => sendingState == SendingState.waiting;
|
||||
|
||||
@override
|
||||
List<Object?> get props => [
|
||||
|
||||
Reference in New Issue
Block a user