From cb8b7a4ec4134171c8c225f2ab5fc76a7ade7500 Mon Sep 17 00:00:00 2001 From: hussam al-habibeh Date: Sun, 14 Feb 2021 16:46:56 +0200 Subject: [PATCH] jira bug fixing --- .../update_prescription_form.dart | 26 ++++++++++++------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/lib/screens/prescription/update_prescription_form.dart b/lib/screens/prescription/update_prescription_form.dart index 70ff06c2..6086c278 100644 --- a/lib/screens/prescription/update_prescription_form.dart +++ b/lib/screens/prescription/update_prescription_form.dart @@ -577,11 +577,14 @@ class _UpdatePrescriptionFormState extends State { child: TextField( decoration: textFieldSelectorDecoration( - model - .patientAssessmentList.isNotEmpty? model.patientAssessmentList[ - 0] - .icdCode10ID - .toString():'', + model.patientAssessmentList + .isNotEmpty + ? model + .patientAssessmentList[ + 0] + .icdCode10ID + .toString() + : '', indication != null ? indication['name'] : null, @@ -607,11 +610,14 @@ class _UpdatePrescriptionFormState extends State { maxLines: 3, decoration: textFieldSelectorDecoration( - model - .patientAssessmentList.isNotEmpty? model.patientAssessmentList[ - 0] - .asciiDesc - .toString():'', + model.patientAssessmentList + .isNotEmpty + ? model + .patientAssessmentList[ + 0] + .asciiDesc + .toString() + : '', indication != null ? indication['name'] : null,