TF-3051 Fix should not allow create rule with no actions

This commit is contained in:
dab246
2024-09-10 16:02:08 +07:00
committed by Dat H. Pham
parent 3c5b0d9da4
commit 489db053ee
4 changed files with 110 additions and 64 deletions
+18 -6
View File
@@ -2192,12 +2192,6 @@ class AppLocalizations {
name: 'toastMessageDeleteEmailRuleSuccessfully');
}
String get toastErrorMessageWhenCreateNewRule {
return Intl.message(
'You have not filled in the information completely.',
name: 'toastErrorMessageWhenCreateNewRule');
}
String get vacationSettingExplanation {
return Intl.message(
'Sends an automated reply to incoming messages.',
@@ -4187,4 +4181,22 @@ class AppLocalizations {
name: 'spamFolderNotFound',
);
}
String get youHaveNotAddedConditionToRule {
return Intl.message(
'You have not added a condition to the rule.',
name: 'youHaveNotAddedConditionToRule');
}
String get youHaveNotAddedActionToRule {
return Intl.message(
'You have not added a action to the rule.',
name: 'youHaveNotAddedActionToRule');
}
String get youHaveNotSelectedAnyActionForRule {
return Intl.message(
'You have not selected any action for the rule.',
name: 'youHaveNotSelectedAnyActionForRule');
}
}