TF-421 Support delete permanently selection email in mailbox Draft

This commit is contained in:
dab246
2022-09-08 15:51:53 +07:00
committed by Dat H. Pham
parent 811b29e353
commit e1c8439fe4
9 changed files with 70 additions and 24 deletions
@@ -14,6 +14,8 @@ class DeleteEmailPermanentlyInteractor {
Stream<Either<Failure, Success>> execute(AccountId accountId, EmailId emailId) async* {
try {
yield Right<Failure, Success>(StartDeleteEmailPermanently());
final listState = await Future.wait([
_mailboxRepository.getMailboxState(),
_emailRepository.getEmailState(),