Merge branch 'pagination_doctor_repay' into 'development'

fix issue

See merge request Cloud_Solution/doctor_app_flutter!802
merge-requests/803/head
Mohammad Aljammal 4 years ago
commit a33c0312b7

@ -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