diff --git a/app/src/main/java/com/nextcloud/talk/adapters/items/ConversationItem.java b/app/src/main/java/com/nextcloud/talk/adapters/items/ConversationItem.java index 54c510dca..2dd7dd321 100644 --- a/app/src/main/java/com/nextcloud/talk/adapters/items/ConversationItem.java +++ b/app/src/main/java/com/nextcloud/talk/adapters/items/ConversationItem.java @@ -50,6 +50,7 @@ import java.util.List; import java.util.regex.Pattern; import androidx.core.content.ContextCompat; +import androidx.core.content.res.ResourcesCompat; import androidx.emoji.widget.EmojiTextView; import butterknife.BindView; import butterknife.ButterKnife; @@ -109,6 +110,10 @@ public class ConversationItem extends AbstractFlexibleItem if (participant.getActorType() == Participant.ActorType.GROUPS || "groups".equals(participant.getSource())) { holder.simpleDraweeView.setImageResource(R.drawable.ic_circular_group); } else if (participant.getActorType() == Participant.ActorType.EMAILS) { - // FIXME use an email icon - holder.simpleDraweeView.setImageResource(R.drawable.ic_circular_group); + holder.simpleDraweeView.setImageResource(R.drawable.ic_circular_mail); } else if (participant.getActorType() == Participant.ActorType.GUESTS || Participant.ParticipantType.GUEST.equals(participant.getType()) || Participant.ParticipantType.GUEST_MODERATOR.equals(participant.getType())) { diff --git a/app/src/main/res/drawable/ic_circular_mail.xml b/app/src/main/res/drawable/ic_circular_mail.xml new file mode 100644 index 000000000..969d98d6c --- /dev/null +++ b/app/src/main/res/drawable/ic_circular_mail.xml @@ -0,0 +1,35 @@ + + + + + + diff --git a/drawable_resources/other/circular_mail.svg b/drawable_resources/other/circular_mail.svg new file mode 100644 index 000000000..ad198b068 --- /dev/null +++ b/drawable_resources/other/circular_mail.svg @@ -0,0 +1,10 @@ + + + + + + + + + +