Skip to content

Commit

Permalink
feat(#259): add app tour to More
Browse files Browse the repository at this point in the history
  • Loading branch information
tamslo committed Apr 8, 2024
1 parent c59ea07 commit 7674ede
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,7 @@
"settings_page_delete_data_confirmation": "I understand the consequences and want to delete all app data",
"settings_page_app_information": "App information",
"settings_page_onboarding": "Onboarding",
"settings_page_app_tour": "Repeat app tour",
"settings_page_about_us": "About us",
"settings_page_about_us_text": "PharMe was created as a bachelor's project at Hasso Plattner Institute (HPI) in Potsdam, Germany, in collaboration with health professionals from the Mount Sinai Health System in New York City, NY, USA.",
"settings_page_privacy_policy": "Privacy policy",
Expand Down
8 changes: 8 additions & 0 deletions app/lib/more/pages/more.dart
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,14 @@ class MorePage extends StatelessWidget {
title: context.l10n.settings_page_onboarding,
onTap: () => context.router.push(OnboardingRoute(isRevisiting: true)),
),
_buildSettingsItem(
title: context.l10n.settings_page_app_tour,
onTap: () async => showAppTour(
context,
lastNextButtonText: context.l10n.action_back_to_app,
revisiting: true,
),
),
_buildSettingsItem(
title: context.l10n.settings_page_about_us,
onTap: () => context.router.push(AboutRoute()),
Expand Down

0 comments on commit 7674ede

Please sign in to comment.