From 3dffd337288620eeb7d328840e4c0a6afa64b43b Mon Sep 17 00:00:00 2001 From: Elham Rababah Date: Sun, 3 Jan 2021 15:01:38 +0200 Subject: [PATCH] hot fix --- .../profile/soap_update/subjective/update_allergies_widget.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/widgets/patients/profile/soap_update/subjective/update_allergies_widget.dart b/lib/widgets/patients/profile/soap_update/subjective/update_allergies_widget.dart index 2d1f66ea..1d143310 100644 --- a/lib/widgets/patients/profile/soap_update/subjective/update_allergies_widget.dart +++ b/lib/widgets/patients/profile/soap_update/subjective/update_allergies_widget.dart @@ -171,13 +171,13 @@ class _UpdateAllergiesWidgetState extends State { mySelectedAllergy.selectedAllergySeverity; allergy.first.remark = mySelectedAllergy.remark; allergy.first.isChecked = mySelectedAllergy.isChecked; + Navigator.of(context).pop(); // helpers.showErrorToast(TranslationBase // .of(context) // .itemExist); } - Navigator.of(context).pop(); }); },); });