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