TF-46 Create object, builder for model and core module
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
|
||||
enum EmailActionType {
|
||||
reply,
|
||||
forward,
|
||||
replyAll,
|
||||
compose,
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
|
||||
enum PrefixEmailAddress {
|
||||
to,
|
||||
cc,
|
||||
bcc
|
||||
}
|
||||
@@ -53,7 +53,7 @@ class PresentationEmail with EquatableMixin {
|
||||
|
||||
String getAvatarText() {
|
||||
if (getSenderName().isNotEmpty) {
|
||||
return getSenderName().substring(0, 1).toUpperCase();
|
||||
return getSenderName()[0].toUpperCase();
|
||||
}
|
||||
return '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user