Fix setting play gif inside for gifs in messages

This commit is contained in:
12aw 2024-03-20 22:04:28 +01:00
parent da2ac6fd1e
commit 86f2914a0b

View file

@ -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));
}
}