TF-4243 Remove modal subtitle for delete label action

This commit is contained in:
dab246
2026-01-27 12:47:08 +07:00
committed by Dat H. Pham
parent f1feb6225d
commit 152140fc85
@@ -30,17 +30,14 @@ enum LabelActionType {
} }
} }
String getModalSubtitle( String getModalSubtitle(AppLocalizations appLocalizations) {
AppLocalizations appLocalizations, {
String labelName = '',
}) {
switch (this) { switch (this) {
case LabelActionType.create: case LabelActionType.create:
return appLocalizations.organizeYourInboxWithACustomCategory; return appLocalizations.organizeYourInboxWithACustomCategory;
case LabelActionType.edit: case LabelActionType.edit:
return appLocalizations.updateTheLabelName; return appLocalizations.updateTheLabelName;
case LabelActionType.delete: default:
return appLocalizations.areYouSureYouWantToDeleteTheLabel(labelName); return '';
} }
} }