TF-709: After search with advanced search, load more is not show corrected results

This commit is contained in:
ManhNTX
2022-07-14 09:15:19 +07:00
committed by Dat H. Pham
parent 79e165443e
commit e52617fd24
4 changed files with 13 additions and 5 deletions
@@ -540,7 +540,7 @@ class ThreadView extends GetWidget<ThreadController> with AppLoaderMixin,
&& !controller.isLoadingMore
&& scrollInfo.metrics.pixels == scrollInfo.metrics.maxScrollExtent
) {
if (controller.isSearchActive()) {
if (controller.isSearchActive() || controller.isAdvanceSearchActive()) {
controller.searchMoreEmails();
} else {
controller.loadMoreEmails();