mirror of https://github.com/M66B/FairEmail.git
Enable thumbnail animation
This commit is contained in:
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);
|
||||
|
||||
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(),
|
||||
|
|
Loading…
Reference in New Issue