TF-348 Fix refresh email list when change email in search

This commit is contained in:
dab246
2022-03-25 16:38:34 +07:00
committed by Dat H. Pham
parent aceac30149
commit 0d369c1b06
@@ -323,7 +323,7 @@ class ThreadController extends BaseController {
properties: ThreadConstants.propertiesDefault, properties: ThreadConstants.propertiesDefault,
)); ));
} }
} else { }
if (_accountId != null && _currentEmailState != null) { if (_accountId != null && _currentEmailState != null) {
consumeState(_refreshChangesEmailsInMailboxInteractor.execute( consumeState(_refreshChangesEmailsInMailboxInteractor.execute(
_accountId!, _accountId!,
@@ -336,7 +336,6 @@ class ThreadController extends BaseController {
)); ));
} }
} }
}
void loadMoreEmails() { void loadMoreEmails() {
if (canLoadMore && _accountId != null) { if (canLoadMore && _accountId != null) {