mirror of https://github.com/M66B/FairEmail.git
Prevent deleting inline attachments
This commit is contained in:
parent
02119e8ccb
commit
9bcb30d71a
|
@ -103,7 +103,7 @@ public class AdapterAttachment extends RecyclerView.Adapter<AdapterAttachment.Vi
|
|||
}
|
||||
|
||||
private void bindTo(EntityAttachment attachment) {
|
||||
ivDelete.setVisibility(readonly ? View.GONE : View.VISIBLE);
|
||||
ivDelete.setVisibility(readonly ? View.GONE : attachment.isInline() ? View.INVISIBLE : View.VISIBLE);
|
||||
tvName.setText(attachment.name);
|
||||
|
||||
if (attachment.size != null)
|
||||
|
|
Loading…
Reference in New Issue