Hide unnamed attachments, layout improvements

This commit is contained in:
M66B
2019-02-11 08:38:46 +00:00
parent 28a7d33ba0
commit 05d26cbc70
3 changed files with 6 additions and 4 deletions

View File

@@ -899,7 +899,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
boolean downloading = false;
List<EntityAttachment> a = new ArrayList<>();
for (EntityAttachment attachment : attachments) {
if (attachment.isInline())
if (attachment.isInline() || TextUtils.isEmpty(attachment.name))
inline = true;
if (attachment.progress == null && !attachment.available)
download = true;