VA-38820 fix

ipd-changes-for-vida-plus
parent 412afbb532
commit 4e42ea7bcc

@ -1141,7 +1141,7 @@ const Map<String, Map<String, String>> localizedValues = {
"en": "Condition On Discharge", "en": "Condition On Discharge",
"ar": "الحالة عند الاخراج" "ar": "الحالة عند الاخراج"
}, },
"planedProcedure": {"en": "Planed Procedure", "ar": "الإجراء المخطط"}, "planedProcedure": {"en": "Planned Procedure", "ar": "الإجراء المخطط"},
"moreDetails": {"en": "More Details", "ar": "المزيد من التفاصيل"}, "moreDetails": {"en": "More Details", "ar": "المزيد من التفاصيل"},
"VTE_Type": {"en": "VTE Type", "ar": "VTE Type"}, "VTE_Type": {"en": "VTE Type", "ar": "VTE Type"},
"pharmacology": {"en": "Pharmacology", "ar": "علم العقاقير"}, "pharmacology": {"en": "Pharmacology", "ar": "علم العقاقير"},

@ -130,7 +130,9 @@ class _DischargeSummaryWidgetState extends State<DischargeSummaryWidget> {
SizedBox( SizedBox(
height: 5.0, height: 5.0,
), ),
Container( Visibility(
visible: Utils.parseHtmlString(widget.dischargeSummary.investigations ?? "").isNotEmpty,
child: Container(
width: MediaQuery.of(context).size.width * 0.5, width: MediaQuery.of(context).size.width * 0.5,
child: RichText( child: RichText(
maxLines: 3, maxLines: 3,
@ -157,6 +159,7 @@ class _DischargeSummaryWidgetState extends State<DischargeSummaryWidget> {
), ),
), ),
), ),
),
SizedBox( SizedBox(
height: 5.0, height: 5.0,
), ),
@ -169,7 +172,7 @@ class _DischargeSummaryWidgetState extends State<DischargeSummaryWidget> {
style: new TextStyle(fontSize: 1.3 * SizeConfig.textMultiplier!, color: Color(0xFF575757)), style: new TextStyle(fontSize: 1.3 * SizeConfig.textMultiplier!, color: Color(0xFF575757)),
children: <TextSpan>[ children: <TextSpan>[
new TextSpan( new TextSpan(
text: TranslationBase.of(context).investigation + ": ", text: TranslationBase.of(context).condition + ": ",
style: TextStyle( style: TextStyle(
fontSize: SizeConfig.getTextMultiplierBasedOnWidth() * 2.8, fontSize: SizeConfig.getTextMultiplierBasedOnWidth() * 2.8,
color: Color(0xFF575757), color: Color(0xFF575757),

Loading…
Cancel
Save