Commit 86b4f344 authored by Tiago Cunha's avatar Tiago Cunha

The error image is a vector too

parent 46a73ab2
......@@ -134,7 +134,7 @@ public class RocketChatMessageAttachmentsLayout extends LinearLayout {
.build()
.load(absolutize(imageURL))
.placeholder(VectorDrawableCompat.create(getResources(), R.drawable.image_dummy, null))
.error(R.drawable.image_error)
.error(VectorDrawableCompat.create(getResources(), R.drawable.image_error, null))
.into((ImageView) attachmentView.findViewById(R.id.image));
TextView titleView = (TextView) attachmentView.findViewById(R.id.title);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment