mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-08 18:13:24 +02:00
Native SVG support
This commit is contained in:
@@ -3173,8 +3173,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
List<EntityAttachment> images = new ArrayList<>();
|
||||
if (thumbnails && bind_extras)
|
||||
for (EntityAttachment attachment : attachments)
|
||||
if (attachment.isAttachment() &&
|
||||
(attachment.isImage() || "image/svg+xml".equals(attachment.getMimeType())))
|
||||
if (attachment.isAttachment() && attachment.isImage())
|
||||
images.add(attachment);
|
||||
adapterImage.set(images);
|
||||
grpImages.setVisibility(images.size() > 0 ? View.VISIBLE : View.GONE);
|
||||
|
||||
Reference in New Issue
Block a user