TF-3236 Display SearchSnippet in search result

This commit is contained in:
DatDang
2024-11-01 17:11:59 +07:00
committed by Dat H. Pham
parent 9c1d991c74
commit 60cb85d187
8 changed files with 168 additions and 19 deletions
@@ -425,7 +425,8 @@ class ThreadView extends GetWidget<ThreadController>
bool _handleScrollNotificationListener(ScrollNotification scrollInfo) {
if (scrollInfo is ScrollEndNotification &&
scrollInfo.metrics.pixels == scrollInfo.metrics.maxScrollExtent &&
!controller.loadingMoreStatus.value.isRunning
!controller.loadingMoreStatus.value.isRunning &&
scrollInfo.metrics.axisDirection == AxisDirection.down
) {
controller.handleLoadMoreEmailsRequest();
}