Skip to content

Commit

Permalink
feat(#722): leave out "Why" on drug card as sometimes confusing
Browse files Browse the repository at this point in the history
  • Loading branch information
tamslo committed Jul 20, 2024
1 parent 867defa commit b6a1b4a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
8 changes: 1 addition & 7 deletions app/lib/drug/widgets/annotation_cards/guideline.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
1 change: 0 additions & 1 deletion app/lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down

0 comments on commit b6a1b4a

Please sign in to comment.