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 ''; } }