fix error happen while scrolling

merge-requests/799/head
Elham Rababh 5 years ago
parent 66e33b7085
commit bf12203e81

@ -92,10 +92,9 @@ class _DoctorReplyScreenState extends State<DoctorReplyScreen> {
onNotification: (t) { onNotification: (t) {
if (t is ScrollEndNotification && if (t is ScrollEndNotification &&
model.state != ViewState.BusyLocal) { model.state != ViewState.BusyLocal) {
print("${model.state}"); setState(() {
// setState(() { pageIndex++;
// pageIndex++; });
// });
model.getDoctorReply(pageIndex: 2); model.getDoctorReply(pageIndex: 2);
} }
return; return;

Loading…
Cancel
Save