From 9b5899d4e6ffe701f54c5c0371e292da2157061e Mon Sep 17 00:00:00 2001 From: hussam al-habibeh Date: Fri, 29 Jan 2021 19:57:50 +0200 Subject: [PATCH] bug fix --- lib/screens/prescription/prescription_screen.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/screens/prescription/prescription_screen.dart b/lib/screens/prescription/prescription_screen.dart index 8f53ef69..1f45deb1 100644 --- a/lib/screens/prescription/prescription_screen.dart +++ b/lib/screens/prescription/prescription_screen.dart @@ -1214,8 +1214,8 @@ class _NewPrescriptionScreenState extends State { covered: true, dose: newDoseStreangth.isNotEmpty ? int.parse(newDoseStreangth) - : int.parse( - doseStreangth), //frequency.isNotEmpty ? int.parse(dose) : 1, + : int.parse(doseStreangth), + //frequency.isNotEmpty ? int.parse(dose) : 1, itemId: drugId, doseUnitId: newUnit.isNotEmpty ? int.parse(newUnit) : int.parse(doseUnit),