Enable thumbnail animation

This commit is contained in:
M66B 2022-01-15 14:03:27 +01:00
parent bdc260f124
commit d7c033d5e9
1 changed files with 1 additions and 2 deletions

View File

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