TF-801 Enable vacation responder setting

This commit is contained in:
dab246
2022-08-17 20:34:26 +07:00
committed by Dat H. Pham
parent f3e6d892d8
commit c4d78f732d
10 changed files with 666 additions and 418 deletions
@@ -42,4 +42,12 @@ extension ValicatorFailureExtension on VerifyNameFailure {
return '';
}
}
String getMessageVacation(BuildContext context) {
if (exception is EmptyNameException) {
return AppLocalizations.of(context).this_field_cannot_be_blank;
} else {
return '';
}
}
}