TF-438 Handle show local notification when type is EmailDelivery on background or terminate

This commit is contained in:
dab246
2022-11-24 14:35:05 +07:00
committed by Dat H. Pham
parent 552398006d
commit d42756b4ea
10 changed files with 274 additions and 64 deletions
@@ -32,11 +32,11 @@ class PushNotificationAction extends FcmStateChangeAction {
List<Object?> get props => [typeName, newState, accountId];
}
class StoreEmailStateChangeToRefreshAction extends FcmStateChangeAction {
class StoreEmailStateToRefreshAction extends FcmStateChangeAction {
final AccountId accountId;
StoreEmailStateChangeToRefreshAction(
StoreEmailStateToRefreshAction(
TypeName typeName,
jmap.State newState,
this.accountId