Use Mih Color Red
This commit is contained in:
@@ -280,7 +280,7 @@ class _PatientConsultationState extends State<PatientConsultation> {
|
||||
if (_counter.value <= 512) {
|
||||
return MzansiInnovationHub.of(context)!.theme.secondaryColor();
|
||||
} else {
|
||||
return MzansiInnovationHub.of(context)!.theme.errorColor();
|
||||
return MihColors.getRedColor(context);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -281,8 +281,7 @@ class _EditPatientState extends State<EditPatient> {
|
||||
),
|
||||
MihButton(
|
||||
onPressed: deletePatientApiCall,
|
||||
buttonColor:
|
||||
MzansiInnovationHub.of(context)!.theme.errorColor(),
|
||||
buttonColor: MihColors.getRedColor(context),
|
||||
width: 300,
|
||||
child: Text(
|
||||
"Delete",
|
||||
@@ -310,7 +309,7 @@ class _EditPatientState extends State<EditPatient> {
|
||||
},
|
||||
icon: Icon(
|
||||
Icons.close,
|
||||
color: MzansiInnovationHub.of(context)!.theme.errorColor(),
|
||||
color: MihColors.getRedColor(context),
|
||||
size: 35,
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user