TF-343 list scroll ot sorted well because multiple requests to back-end at the same time
This commit is contained in:
committed by
Dat H. Pham
parent
6ea7305333
commit
c0b654d5a9
@@ -350,7 +350,9 @@ class ThreadView extends GetWidget<ThreadController> {
|
||||
return NotificationListener<ScrollNotification>(
|
||||
onNotification: (ScrollNotification scrollInfo) {
|
||||
if (scrollInfo is ScrollEndNotification
|
||||
&& scrollInfo.metrics.pixels == scrollInfo.metrics.maxScrollExtent) {
|
||||
&& !controller.isLoadingMore
|
||||
&& scrollInfo.metrics.pixels == scrollInfo.metrics.maxScrollExtent
|
||||
) {
|
||||
if (controller.isSearchActive()) {
|
||||
controller.searchMoreEmails();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user