Enable thumbnail animation

pull/194/merge
M66B 3 years ago
parent bdc260f124
commit d7c033d5e9

@ -85,8 +85,7 @@ public class AdapterImage extends RecyclerView.Adapter<AdapterImage.ViewHolder>
tvCaption.setVisibility(TextUtils.isEmpty(attachment.name) ? View.GONE : View.VISIBLE); tvCaption.setVisibility(TextUtils.isEmpty(attachment.name) ? View.GONE : View.VISIBLE);
if (attachment.available) { if (attachment.available) {
if (BuildConfig.DEBUG && if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P)
Build.VERSION.SDK_INT >= Build.VERSION_CODES.P)
try { try {
Drawable d = ImageHelper.getScaledDrawable(context, Drawable d = ImageHelper.getScaledDrawable(context,
attachment.getFile(context), attachment.getMimeType(), attachment.getFile(context), attachment.getMimeType(),

Loading…
Cancel
Save