mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 15:17:03 +02:00
Revised attachment layout
This commit is contained in:
@@ -1126,7 +1126,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
boolean calendar = false;
|
||||
List<EntityAttachment> a = new ArrayList<>();
|
||||
for (EntityAttachment attachment : attachments) {
|
||||
boolean inline = (attachment.isInline() || TextUtils.isEmpty(attachment.name));
|
||||
boolean inline = (attachment.isInline() && attachment.isImage());
|
||||
if (inline)
|
||||
has_inline = true;
|
||||
if (Objects.equals(attachment.encryption, EntityAttachment.PGP_MESSAGE))
|
||||
|
||||
Reference in New Issue
Block a user