From c59862574589906f17e2b50e8076c431bd6b0243 Mon Sep 17 00:00:00 2001 From: tamslo Date: Thu, 21 Nov 2024 16:21:41 +0100 Subject: [PATCH] feat(app): add title to confirm first medication selection dialog --- app/lib/drug_selection/pages/drug_selection.dart | 1 + app/lib/l10n/app_en.arb | 2 ++ 2 files changed, 3 insertions(+) diff --git a/app/lib/drug_selection/pages/drug_selection.dart b/app/lib/drug_selection/pages/drug_selection.dart index be91d793..a566ea4f 100644 --- a/app/lib/drug_selection/pages/drug_selection.dart +++ b/app/lib/drug_selection/pages/drug_selection.dart @@ -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( diff --git a/app/lib/l10n/app_en.arb b/app/lib/l10n/app_en.arb index 44a7d724..9f4155df 100644 --- a/app/lib/l10n/app_en.arb +++ b/app/lib/l10n/app_en.arb @@ -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.",