TF-46 Create object, builder for model and core module
This commit is contained in:
@@ -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