align button color Pat prof

This commit is contained in:
2025-06-12 12:58:16 +02:00
parent 33f3c6c51f
commit 0956ee58da
5 changed files with 8 additions and 10 deletions

View File

@@ -384,7 +384,7 @@ class _ClaimStatementWindowState extends State<ClaimStatementWindow> {
} }
}, },
buttonColor: buttonColor:
MzanziInnovationHub.of(context)!.theme.secondaryColor(), MzanziInnovationHub.of(context)!.theme.successColor(),
width: 300, width: 300,
child: Text( child: Text(
"Generate", "Generate",

View File

@@ -210,9 +210,8 @@ class _PatientConsultationState extends State<PatientConsultation> {
MihAlertServices().formNotFilledCompletely(context); MihAlertServices().formNotFilledCompletely(context);
} }
}, },
buttonColor: MzanziInnovationHub.of(context)! buttonColor:
.theme MzanziInnovationHub.of(context)!.theme.successColor(),
.secondaryColor(),
width: 300, width: 300,
child: Text( child: Text(
"Add Note", "Add Note",

View File

@@ -392,7 +392,7 @@ class _PatientDocumentsState extends State<PatientDocuments> {
} }
}, },
buttonColor: buttonColor:
MzanziInnovationHub.of(context)!.theme.secondaryColor(), MzanziInnovationHub.of(context)!.theme.successColor(),
width: 300, width: 300,
child: Text( child: Text(
"Generate", "Generate",

View File

@@ -448,7 +448,7 @@ class _AddPatientState extends State<AddPatient> {
} }
}, },
buttonColor: buttonColor:
MzanziInnovationHub.of(context)!.theme.secondaryColor(), MzanziInnovationHub.of(context)!.theme.successColor(),
width: 300, width: 300,
child: Text( child: Text(
"Add", "Add",

View File

@@ -280,9 +280,8 @@ class _EditPatientState extends State<EditPatient> {
), ),
MihButton( MihButton(
onPressed: deletePatientApiCall, onPressed: deletePatientApiCall,
buttonColor: MzanziInnovationHub.of(context)! buttonColor:
.theme MzanziInnovationHub.of(context)!.theme.errorColor(),
.secondaryColor(),
width: 300, width: 300,
child: Text( child: Text(
"Delete", "Delete",
@@ -662,7 +661,7 @@ class _EditPatientState extends State<EditPatient> {
} }
}, },
buttonColor: buttonColor:
MzanziInnovationHub.of(context)!.theme.secondaryColor(), MzanziInnovationHub.of(context)!.theme.successColor(),
width: 300, width: 300,
child: Text( child: Text(
"Update", "Update",