|
|
|
|
@ -136,7 +136,24 @@ class _EndCallScreenState extends State<EndCallScreen> {
|
|
|
|
|
TranslationBase.of(context).instruction,
|
|
|
|
|
"",
|
|
|
|
|
'patient/health_summary.png',
|
|
|
|
|
onTap: () {},
|
|
|
|
|
onTap: () {
|
|
|
|
|
Helpers.showConfirmationDialog(context,
|
|
|
|
|
"${TranslationBase.of(context).areYouSureYouWantTo} ${TranslationBase.of(context).sendLC}${TranslationBase.of(context).instruction} ?",
|
|
|
|
|
() async {
|
|
|
|
|
Navigator.of(context).pop();
|
|
|
|
|
GifLoaderDialogUtils.showMyDialog(context);
|
|
|
|
|
liveCareModel.sendSMSInstruction(widget.patient.vcId);
|
|
|
|
|
GifLoaderDialogUtils.hideDialog(context);
|
|
|
|
|
if (liveCareModel.state == ViewState.ErrorLocal) {
|
|
|
|
|
DrAppToastMsg.showErrorToast(liveCareModel.error);
|
|
|
|
|
} else {
|
|
|
|
|
DrAppToastMsg.showSuccesToast("You successfully sent SMS instructions");
|
|
|
|
|
Navigator.of(context).pop();
|
|
|
|
|
Navigator.of(context).pop();
|
|
|
|
|
Navigator.of(context).pop();
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
isInPatient: isInpatient,
|
|
|
|
|
isDartIcon: true,
|
|
|
|
|
isDisable: true,
|
|
|
|
|
|