mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 06:08:31 +02:00
Enable thumbnail animation
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user