TF-4004 Add loading bar for email rule filter view
This commit is contained in:
@@ -13,7 +13,7 @@ class GetAllRulesInteractor {
|
||||
|
||||
Stream<Either<Failure, Success>> execute(AccountId accountId) async* {
|
||||
try {
|
||||
yield Right<Failure, Success>(LoadingState());
|
||||
yield Right(GettingAllRules());
|
||||
final rulesResponse = await _ruleFilterRepository.getAllTMailRule(accountId);
|
||||
yield Right(GetAllRulesSuccess(rulesResponse));
|
||||
} catch (exception) {
|
||||
|
||||
Reference in New Issue
Block a user