Skip to content

Commit

Permalink
TF-3385 Fix Map spam/unspam from fromIterable to fromEntries
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangdat committed Jan 3, 2025
1 parent 5cd2722 commit eed47e2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1370,7 +1370,7 @@ class MailboxDashBoardController extends ReloadableController
spamMailboxId!,
MoveAction.moving,
EmailActionType.moveToSpam),
Map.fromIterable(
Map.fromEntries(
listEmail
.where((email) => email.id != null)
.map((email) => MapEntry(email.id!, email.hasRead)),
Expand Down Expand Up @@ -1421,7 +1421,7 @@ class MailboxDashBoardController extends ReloadableController
inboxMailboxId,
MoveAction.moving,
EmailActionType.unSpam),
Map.fromIterable(
Map.fromEntries(
listEmail
.where((email) => email.id != null)
.map((email) => MapEntry(email.id!, email.hasRead)),
Expand Down

0 comments on commit eed47e2

Please sign in to comment.