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