mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-15 21:43:27 +02:00
Added PDF previews
This commit is contained in:
@@ -3650,9 +3650,10 @@ 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()) {
|
||||
if (attachment.isPDF() ||
|
||||
(attachment.isAttachment() && attachment.isImage())) {
|
||||
images.add(attachment);
|
||||
if (attachment.available)
|
||||
if (attachment.available && !attachment.isPDF())
|
||||
iavailable++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user