From e0c9914206772dccfa3d8458c208b6d02f55013a Mon Sep 17 00:00:00 2001 From: haroon amjad Date: Thu, 15 Feb 2024 16:22:15 +0300 Subject: [PATCH] Issue for appointment reschedule fixed --- lib/pages/MyAppointments/AppointmentDetails.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pages/MyAppointments/AppointmentDetails.dart b/lib/pages/MyAppointments/AppointmentDetails.dart index cd5597db..362320eb 100644 --- a/lib/pages/MyAppointments/AppointmentDetails.dart +++ b/lib/pages/MyAppointments/AppointmentDetails.dart @@ -308,10 +308,10 @@ class _AppointmentDetailsState extends State with SingleTick } void goToBookConfirm() { - if (DocAvailableAppointments.areAppointmentsAvailable) + if (DocAvailableAppointments.areSlotsAvailable) navigateToBookConfirm(context); else - AppToast.showErrorToast(message: TranslationBase.of(context).emptySchedule); + AppToast.showErrorToast(message: TranslationBase.of(context).selectSlot); } Future navigateToBookConfirm(context) async {