From dfc2889df77ebf445f5130ae78c689379ea5ce87 Mon Sep 17 00:00:00 2001 From: haroon amjad Date: Sun, 2 Apr 2023 12:35:39 +0300 Subject: [PATCH] dental reschedule fix --- lib/pages/MyAppointments/widgets/AppointmentActions.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pages/MyAppointments/widgets/AppointmentActions.dart b/lib/pages/MyAppointments/widgets/AppointmentActions.dart index d0fa8669..63ad920b 100644 --- a/lib/pages/MyAppointments/widgets/AppointmentActions.dart +++ b/lib/pages/MyAppointments/widgets/AppointmentActions.dart @@ -72,7 +72,7 @@ class _AppointmentActionsState extends State { padding: EdgeInsets.all(21), shrinkWrap: true, itemBuilder: (context, index) { - bool shouldEnable = (widget.appo.clinicID == 17 && widget.appo.clinicID == 47 && appoButtonsList[index].caller == "openReschedule"); + bool shouldEnable = ((widget.appo.clinicID == 17 || widget.appo.clinicID == 47) && appoButtonsList[index].caller == "openReschedule"); return InkWell( onTap: shouldEnable ? null