From e1718270eb4743d1e9a89d5d08eaff9a268d5313 Mon Sep 17 00:00:00 2001 From: haroon amjad Date: Thu, 4 Jan 2024 09:59:47 +0300 Subject: [PATCH] updates --- lib/pages/MyAppointments/MyAppointments.dart | 7 ++++++- pubspec.yaml | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/pages/MyAppointments/MyAppointments.dart b/lib/pages/MyAppointments/MyAppointments.dart index 3d0eb15f..1163da12 100644 --- a/lib/pages/MyAppointments/MyAppointments.dart +++ b/lib/pages/MyAppointments/MyAppointments.dart @@ -431,7 +431,12 @@ class _MyAppointmentsState extends State with SingleTickerProvid ), ), ).then((value) { - getPatientAppointmentHistory(true, false); + if(_currentPage == 1) { + getPatientAppointmentHistory(true, false); + } + if(_currentPage == 2) { + getPatientAppointmentHistory(false, true); + } }), isInOutPatient: _appointmentResult.isInOutPatient, name: _appointmentResult.doctorTitle + " " + _appointmentResult.doctorNameObj, diff --git a/pubspec.yaml b/pubspec.yaml index 8fb7faae..0cb06dd5 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: diplomaticquarterapp description: A new Flutter application. -version: 4.5.040+4050040 +version: 4.5.78+1 environment: sdk: ">=2.7.0 <3.0.0"