Skip to content

Commit

Permalink
feat(app): make repeat part in tutorial bold
Browse files Browse the repository at this point in the history
  • Loading branch information
tamslo committed Jan 7, 2025
1 parent eb82808 commit 297ef80
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions app/lib/common/widgets/tutorial/show_app_tour.dart
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ FutureOr<void> showAppTour(
context.l10n.tutorial_app_tour_1_title,
content: (context) => _buildContent(
context.l10n.tutorial_app_tour_1_body,
trailingSpan: TextSpan(
text: context.l10n.tutorial_app_tour_1_body_bold,
style: TextStyle(fontWeight: FontWeight.bold),
),
),
assetPath:
'assets/images/tutorial/05_bottom_navigation_loopable.gif',
Expand Down
4 changes: 3 additions & 1 deletion app/lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -479,8 +479,10 @@
"@tutorial_initial_drug_selection_body": {},
"tutorial_app_tour_1_title": "App Tour (1/5) · Navigation",
"@tutorial_app_tour_1_title": {},
"tutorial_app_tour_1_body": "You are almost done with setting up PharMe! We will now quickly guide you through the app's main functions.\nYou can switch between PharMe's main screens using the bottom navigation bar: “Medications”, “Genes”, “FAQ”, and “More”.\nIf you want to re-watch this app tour later, you can always do so under “More” > “Repeat app tour”.",
"tutorial_app_tour_1_body": "You are almost done with setting up PharMe! We will now quickly guide you through the app's main functions.\nYou can switch between PharMe's main screens using the bottom navigation bar: “Medications”, “Genes”, “FAQ”, and “More”.",
"@tutorial_app_tour_1_body": {},
"tutorial_app_tour_1_body_bold": "If you want to re-watch this app tour later, you can always do so under “More” > “Repeat app tour”.",
"@tutorial_app_tour_1_body_bold": {},
"tutorial_app_tour_2_title": "App Tour (2/5) · Medication List",
"@tutorial_app_tour_2_title": {},
"tutorial_app_tour_2_body": "Under “Medications”, you will find the list of all available medications in PharMe.\nYou can search for specific generic names, brand names, or medication classes, and filter the list by guideline result.\nBased on your personal gene results, all medications in PharMe are labeled with a color and an icon: ",
Expand Down

0 comments on commit 297ef80

Please sign in to comment.