Fix can not refresh change list mailbox and email after take actions with email in succession
This commit is contained in:
@@ -14,6 +14,8 @@ class DeleteMultipleEmailsPermanentlyInteractor {
|
||||
|
||||
Stream<Either<Failure, Success>> execute(AccountId accountId, List<EmailId> emailIds) async* {
|
||||
try {
|
||||
yield Right<Failure, Success>(LoadingDeleteMultipleEmailsPermanentlyAll());
|
||||
|
||||
final listState = await Future.wait([
|
||||
_mailboxRepository.getMailboxState(),
|
||||
_emailRepository.getEmailState(),
|
||||
|
||||
@@ -14,6 +14,8 @@ class MoveToMailboxInteractor {
|
||||
|
||||
Stream<Either<Failure, Success>> execute(AccountId accountId, MoveToMailboxRequest moveRequest) async* {
|
||||
try {
|
||||
yield Right(LoadingMoveToMailbox());
|
||||
|
||||
final listState = await Future.wait([
|
||||
_mailboxRepository.getMailboxState(),
|
||||
_emailRepository.getEmailState(),
|
||||
|
||||
Reference in New Issue
Block a user