Show inline attachments dimmed

pull/178/head
M66B 5 years ago
parent dffdf91280
commit 69a53318fe

@ -111,7 +111,7 @@ public class AdapterAttachment extends RecyclerView.Adapter<AdapterAttachment.Vi
}
private void bindTo(EntityAttachment attachment) {
view.setAlpha(attachment.isInline() && attachment.isImage() ? Helper.LOW_LIGHT : 1.0f);
view.setAlpha(attachment.isInline() ? Helper.LOW_LIGHT : 1.0f);
ibDelete.setVisibility(readonly ? View.GONE :
attachment.isInline() && attachment.error == null ? View.INVISIBLE : View.VISIBLE);

Loading…
Cancel
Save