TF-437 Handle mailbox/changes in foreground

This commit is contained in:
dab246
2022-11-30 11:34:19 +07:00
committed by Dat H. Pham
parent 045c7383e6
commit 49069a595c
5 changed files with 90 additions and 0 deletions
@@ -42,6 +42,20 @@ class StoreEmailStateToRefreshAction extends FcmStateChangeAction {
this.accountId
) : super(typeName, newState);
@override
List<Object?> get props => [typeName, newState, accountId];
}
class SynchronizeMailboxOnForegroundAction extends FcmStateChangeAction {
final AccountId accountId;
SynchronizeMailboxOnForegroundAction(
TypeName typeName,
jmap.State newState,
this.accountId
) : super(typeName, newState);
@override
List<Object?> get props => [typeName, newState, accountId];
}