Skip to content

Commit

Permalink
feat(app): add title to confirm first medication selection dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
tamslo committed Nov 21, 2024
1 parent f6dd0b1 commit c598625
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/lib/drug_selection/pages/drug_selection.dart
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ class DrugSelectionPage extends HookWidget {
await showAdaptiveDialog(
context: context,
builder: (context) => DialogWrapper(
title: context.l10n.drug_selection_continue_warning_title,
content: Text(context.l10n.drug_selection_continue_warning),
actions: [
DialogAction(
Expand Down
2 changes: 2 additions & 0 deletions app/lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@

"drug_selection_header": "Current medications",
"@drug_selection_header": {},
"drug_selection_continue_warning_title": "Confirm proceeding",
"@drug_selection_continue_warning_title": {},
"drug_selection_continue_warning": "Proceeding will close the initial medication selection. You can always change the status for a medication later in the app.",
"@drug_selection_continue_warning": {},
"drug_selection_settings_description": "Review the medications you are currently taking below.",
Expand Down

0 comments on commit c598625

Please sign in to comment.