Use Mih Color Red
This commit is contained in:
parent
6ba3da6368
commit
726c6f5213
46 changed files with 181 additions and 236 deletions
|
|
@ -144,8 +144,7 @@ class _BuildPatientsListState extends State<BuildAccessRequestList> {
|
|||
} else {
|
||||
accessWithColour = TextSpan(
|
||||
text: "$access\n",
|
||||
style: TextStyle(
|
||||
color: MzansiInnovationHub.of(context)!.theme.errorColor()));
|
||||
style: TextStyle(color: MihColors.getRedColor(context)));
|
||||
}
|
||||
|
||||
return ListTile(
|
||||
|
|
@ -250,8 +249,7 @@ class _BuildPatientsListState extends State<BuildAccessRequestList> {
|
|||
onPressed: () {
|
||||
updateAccessAPICall(index, "declined");
|
||||
},
|
||||
buttonColor:
|
||||
MzansiInnovationHub.of(context)!.theme.errorColor(),
|
||||
buttonColor: MihColors.getRedColor(context),
|
||||
width: 300,
|
||||
child: Text(
|
||||
"Decline",
|
||||
|
|
|
|||
|
|
@ -243,9 +243,7 @@ class _PatientAccessRequestState extends State<Appointments> {
|
|||
MihAlertServices().formNotFilledCompletely(context);
|
||||
}
|
||||
},
|
||||
buttonColor: MzansiInnovationHub.of(context)!
|
||||
.theme
|
||||
.successColor(),
|
||||
buttonColor: MihColors.getGreenColor(context),
|
||||
width: 300,
|
||||
child: Text(
|
||||
"Add",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue