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++;