From ff979c725e8fd1b04c793f59c743f99982966a12 Mon Sep 17 00:00:00 2001 From: Elham Rababh Date: Thu, 26 Aug 2021 11:48:58 +0300 Subject: [PATCH] fix issue --- lib/screens/doctor/doctor_reply_screen.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/screens/doctor/doctor_reply_screen.dart b/lib/screens/doctor/doctor_reply_screen.dart index e56360e7..0f310c64 100644 --- a/lib/screens/doctor/doctor_reply_screen.dart +++ b/lib/screens/doctor/doctor_reply_screen.dart @@ -90,7 +90,7 @@ class _DoctorReplyScreenState extends State { ); }), onNotification: (t) { - if (t is ScrollEndNotification && + if (t is ScrollUpdateNotification && t.metrics.pixels >= t.metrics.maxScrollExtent - 50 && model.state != ViewState.BusyLocal) { setState(() { pageIndex++;