TF-145 Implement LoadMoreEmails in ThreadView

This commit is contained in:
dab246
2021-10-07 17:41:31 +07:00
committed by Dat H. Pham
parent 1224173fa0
commit ee58a77758
29 changed files with 337 additions and 173 deletions
@@ -15,6 +15,8 @@ class RefreshAllMailboxInteractor {
Stream<Either<Failure, Success>> execute(AccountId accountId, jmapState.State currentState) async* {
try {
yield Right<Failure, Success>(RefreshingState());
yield* _mailboxRepository
.refresh(accountId, currentState)
.map(_toGetMailboxState);