Fixed inline attachments

This commit is contained in:
M66B
2019-01-06 12:18:17 +00:00
parent 9154945de9
commit 7cc1f076f4
6 changed files with 17 additions and 7 deletions

View File

@@ -103,7 +103,7 @@ public class AdapterAttachment extends RecyclerView.Adapter<AdapterAttachment.Vi
}
private void bindTo(EntityAttachment attachment) {
ivDelete.setVisibility(readonly ? View.GONE : attachment.isInline() ? View.INVISIBLE : View.VISIBLE);
ivDelete.setVisibility(readonly ? View.GONE : View.VISIBLE);
tvName.setText(attachment.name);
if (attachment.size != null)