From 152140fc8598fe249b837c5d215379733a12364b Mon Sep 17 00:00:00 2001 From: dab246 Date: Tue, 27 Jan 2026 12:47:08 +0700 Subject: [PATCH] TF-4243 Remove modal subtitle for delete label action --- .../labels/presentation/models/label_action_type.dart | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/lib/features/labels/presentation/models/label_action_type.dart b/lib/features/labels/presentation/models/label_action_type.dart index 6d007f1b3..37c84dbc3 100644 --- a/lib/features/labels/presentation/models/label_action_type.dart +++ b/lib/features/labels/presentation/models/label_action_type.dart @@ -30,17 +30,14 @@ enum LabelActionType { } } - String getModalSubtitle( - AppLocalizations appLocalizations, { - String labelName = '', - }) { + String getModalSubtitle(AppLocalizations appLocalizations) { switch (this) { case LabelActionType.create: return appLocalizations.organizeYourInboxWithACustomCategory; case LabelActionType.edit: return appLocalizations.updateTheLabelName; - case LabelActionType.delete: - return appLocalizations.areYouSureYouWantToDeleteTheLabel(labelName); + default: + return ''; } }