From 297ef8040ff1844cfc808559b40666372eba8f2c Mon Sep 17 00:00:00 2001 From: tamslo Date: Tue, 7 Jan 2025 13:33:23 +0100 Subject: [PATCH] feat(app): make repeat part in tutorial bold --- app/lib/common/widgets/tutorial/show_app_tour.dart | 4 ++++ app/lib/l10n/app_en.arb | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/app/lib/common/widgets/tutorial/show_app_tour.dart b/app/lib/common/widgets/tutorial/show_app_tour.dart index 17c0b5fe..ddb0d140 100644 --- a/app/lib/common/widgets/tutorial/show_app_tour.dart +++ b/app/lib/common/widgets/tutorial/show_app_tour.dart @@ -37,6 +37,10 @@ FutureOr 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', diff --git a/app/lib/l10n/app_en.arb b/app/lib/l10n/app_en.arb index 47529adb..1c489856 100644 --- a/app/lib/l10n/app_en.arb +++ b/app/lib/l10n/app_en.arb @@ -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: ",