From 7e48b7f57a7a4413b6a36ad9716f9188cf59446c Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 16 Apr 2020 08:16:47 +0200 Subject: [PATCH] Show attached images --- app/src/main/java/eu/faircode/email/AdapterMessage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/AdapterMessage.java b/app/src/main/java/eu/faircode/email/AdapterMessage.java index 258b0abfd4..ad84cdcdf2 100644 --- a/app/src/main/java/eu/faircode/email/AdapterMessage.java +++ b/app/src/main/java/eu/faircode/email/AdapterMessage.java @@ -2220,7 +2220,7 @@ public class AdapterMessage extends RecyclerView.Adapter images = new ArrayList<>(); for (EntityAttachment attachment : attachments) - if (!attachment.isInline() && attachment.isImage()) + if (attachment.isAttachment() && attachment.isImage()) images.add(attachment); adapterImage.set(images); grpImages.setVisibility(images.size() > 0 ? View.VISIBLE : View.GONE);