forked from mirror/monocles_chat_clean
Fix setting play gif inside for gifs in messages
This commit is contained in:
parent
da2ac6fd1e
commit
86f2914a0b
1 changed files with 1 additions and 1 deletions
|
@ -1249,7 +1249,7 @@ public class MessageAdapter extends ArrayAdapter<Message> {
|
|||
LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams(scaledW, scaledH);
|
||||
layoutParams.setMargins(0, (int) (metrics.density * 4), 0, (int) (metrics.density * 4));
|
||||
viewHolder.images.setLayoutParams(layoutParams);
|
||||
activity.loadBitmap(message, viewHolder.image);
|
||||
Picasso.get().load(file).into(viewHolder.image);
|
||||
viewHolder.image.setOnClickListener(v -> openDownloadable(message));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue