TF-46 Create object, builder for model and core module

This commit is contained in:
dab246
2021-08-26 17:03:04 +07:00
committed by Dat H. Pham
parent b70fc6edb8
commit 17bad5ec51
21 changed files with 203 additions and 12 deletions
+7
View File
@@ -0,0 +1,7 @@
enum EmailActionType {
reply,
forward,
replyAll,
compose,
}
@@ -0,0 +1,6 @@
enum PrefixEmailAddress {
to,
cc,
bcc
}
+1 -1
View File
@@ -53,7 +53,7 @@ class PresentationEmail with EquatableMixin {
String getAvatarText() {
if (getSenderName().isNotEmpty) {
return getSenderName().substring(0, 1).toUpperCase();
return getSenderName()[0].toUpperCase();
}
return '';
}