TF-1683 Remove Plain text option of message in VacationView
(cherry picked from commit 9a6f9b2ecaf629140f0676bff1a33e524f17ebc1)
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:tmail_ui_user/main/localizations/app_localizations.dart';
|
||||
|
||||
enum VacationMessageType {
|
||||
plainText,
|
||||
htmlTemplate
|
||||
}
|
||||
|
||||
extension VacationMessageTypeExtension on VacationMessageType {
|
||||
|
||||
String getTitle(BuildContext context) {
|
||||
switch(this) {
|
||||
case VacationMessageType.plainText:
|
||||
return AppLocalizations.of(context).plain_text;
|
||||
case VacationMessageType.htmlTemplate:
|
||||
return AppLocalizations.of(context).html_template;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user