From b6a1b4a3b556576b8a540631774b070820ed30af Mon Sep 17 00:00:00 2001 From: Tamara Slosarek Date: Sat, 20 Jul 2024 16:22:49 +0200 Subject: [PATCH] feat(#722): leave out "Why" on drug card as sometimes confusing --- app/lib/drug/widgets/annotation_cards/guideline.dart | 8 +------- app/lib/l10n/app_en.arb | 1 - 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/app/lib/drug/widgets/annotation_cards/guideline.dart b/app/lib/drug/widgets/annotation_cards/guideline.dart index 04689192..a6238bf7 100644 --- a/app/lib/drug/widgets/annotation_cards/guideline.dart +++ b/app/lib/drug/widgets/annotation_cards/guideline.dart @@ -133,13 +133,7 @@ class GuidelineAnnotationCard extends StatelessWidget { ), SizedBox(height: PharMeTheme.smallToMediumSpace), Text.rich( - TextSpan(children: [ - TextSpan( - text: context.l10n.drugs_page_implication_description, - style: TextStyle(fontWeight: FontWeight.bold), - ), - TextSpan(text: implicationText), - ]), + TextSpan(text: implicationText), ), SizedBox(height: PharMeTheme.smallToMediumSpace), Text.rich( diff --git a/app/lib/l10n/app_en.arb b/app/lib/l10n/app_en.arb index 9cb5dcb0..4130428e 100644 --- a/app/lib/l10n/app_en.arb +++ b/app/lib/l10n/app_en.arb @@ -211,7 +211,6 @@ "drugs_page_tooltip_missing_guideline_not_tested": "Guidelines provide recommendations on which medications to use based on your DNA. However, your genetic test result does not include the information needed to make such a recommendation for this medication.", "drugs_page_tooltip_warfarin": "CPIC guidelines provide recommendations on which medications to use based on your DNA. However, to calculate your warfarin dose, more information is needed.", - "drugs_page_implication_description": "Why: ", "drugs_page_recommendation_description": "What to do: ", "drugs_page_implication_warfarin": "More information is needed to calculate your warfarin dose.", "drugs_page_recommendation_warfarin": "Consult your pharmacist or doctor for more information.",