TF-1008 Update Signature of deleteMultipleMailbox for MailboxRepository
This commit is contained in:
committed by
Dat H. Pham
parent
875f67b02e
commit
b3945491fb
@@ -32,8 +32,8 @@ class DeleteMultipleMailboxInteractor {
|
||||
})
|
||||
);
|
||||
|
||||
final allSuccess = listResult.every((result) => result);
|
||||
final allFailed = listResult.every((result) => !result);
|
||||
final allSuccess = listResult.every((result) => result.isEmpty);
|
||||
final allFailed = listResult.every((result) => result.isNotEmpty);
|
||||
|
||||
if (allSuccess) {
|
||||
yield Right<Failure, Success>(DeleteMultipleMailboxAllSuccess(
|
||||
|
||||
Reference in New Issue
Block a user