diff --git a/lib/screens/doctor/doctor_reply_screen.dart b/lib/screens/doctor/doctor_reply_screen.dart index 2d74a2cc..e56360e7 100644 --- a/lib/screens/doctor/doctor_reply_screen.dart +++ b/lib/screens/doctor/doctor_reply_screen.dart @@ -95,7 +95,7 @@ class _DoctorReplyScreenState extends State { setState(() { pageIndex++; }); - model.getDoctorReply(pageIndex: 2); + model.getDoctorReply(pageIndex: pageIndex); } return; },