mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 14:17:03 +02:00
Allow removing inline images
This commit is contained in:
@@ -103,8 +103,7 @@ public class AdapterAttachment extends RecyclerView.Adapter<AdapterAttachment.Vi
|
||||
private void bindTo(EntityAttachment attachment) {
|
||||
view.setAlpha(!attachment.isAttachment() ? Helper.LOW_LIGHT : 1.0f);
|
||||
|
||||
ibDelete.setVisibility(readonly ? View.GONE :
|
||||
attachment.isInline() && attachment.error == null ? View.INVISIBLE : View.VISIBLE);
|
||||
ibDelete.setVisibility(readonly ? View.GONE : View.VISIBLE);
|
||||
|
||||
int resid = 0;
|
||||
String extension = MimeTypeMap.getSingleton().getExtensionFromMimeType(attachment.getMimeType());
|
||||
|
||||
Reference in New Issue
Block a user