change button to cancel appoiintment and update appointment

This commit is contained in:
2024-10-15 09:43:14 +02:00
parent fb3b938287
commit 265de547b3

View File

@@ -360,7 +360,7 @@ class _BuildPatientsListState extends State<BuildPatientQueueList> {
onTap: () {
updateAccessAPICall(index, "cancelled");
},
buttonText: "Cancel",
buttonText: "Cancel Appointment",
buttonColor:
MzanziInnovationHub.of(context)!.theme.errorColor(),
textColor:
@@ -374,7 +374,7 @@ class _BuildPatientsListState extends State<BuildPatientQueueList> {
onTap: () {
updateApointmentAPICall(index);
},
buttonText: "Update",
buttonText: "Update Appointment",
buttonColor:
MzanziInnovationHub.of(context)!.theme.successColor(),
textColor: