jira bugs

merge-update-with-lab-changes
hussam al-habibeh 5 years ago
parent f9b8191a5e
commit a6ec7326b2

@ -169,29 +169,30 @@ class _MyVaccinesState extends State<MyVaccines> {
width: double.infinity, width: double.infinity,
// height: 80.0, // height: 80.0,
child: Button( child: Button(
disabled: true,
label: TranslationBase.of(context).checkVaccineAvailability, label: TranslationBase.of(context).checkVaccineAvailability,
backgroundColor: Color(0xff9EA3A4), backgroundColor: Color(0xff9EA3A4),
onTap: () => onTap: () => Navigator.push(
Navigator.push(context, FadePage(page: MyVaccinesItemPage())), context, FadePage(page: MyVaccinesItemPage())),
), ),
), ),
if(projectViewModel.havePrivilege(27)) if (projectViewModel.havePrivilege(27))
Container( Container(
width: double.infinity, width: double.infinity,
// height: 80.0, // height: 80.0,
child: SecondaryButton( child: SecondaryButton(
label: TranslationBase.of(context).sendEmail, label: TranslationBase.of(context).sendEmail,
color: Color(0xffF62426), color: Color(0xffF62426),
textColor: Colors.white, textColor: Colors.white,
disabled: model.vaccineList.length == 0, disabled: model.vaccineList.length == 0,
loading: model.state == ViewState.BusyLocal, loading: model.state == ViewState.BusyLocal,
onTap: () async { onTap: () async {
model.sendEmail( model.sendEmail(
message: message: TranslationBase.of(context)
TranslationBase.of(context).emailSentSuccessfully); .emailSentSuccessfully);
}, },
),
), ),
),
], ],
), ),
), ),

Loading…
Cancel
Save