fix issue

merge-requests/802/head
Elham Rababh 4 years ago
parent 076301e91a
commit ff979c725e

@ -90,7 +90,7 @@ class _DoctorReplyScreenState extends State<DoctorReplyScreen> {
);
}),
onNotification: (t) {
if (t is ScrollEndNotification &&
if (t is ScrollUpdateNotification && t.metrics.pixels >= t.metrics.maxScrollExtent - 50 &&
model.state != ViewState.BusyLocal) {
setState(() {
pageIndex++;

Loading…
Cancel
Save