mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-06 12:54:11 +01:00
Inline attachments required a content ID
This commit is contained in:
@@ -102,7 +102,7 @@ public class AdapterAttachment extends RecyclerView.Adapter<AdapterAttachment.Vi
|
||||
}
|
||||
|
||||
private void bindTo(EntityAttachment attachment) {
|
||||
view.setAlpha(attachment.isInline() ? Helper.LOW_LIGHT : 1.0f);
|
||||
view.setAlpha(attachment.isInline() || TextUtils.isEmpty(attachment.name) ? Helper.LOW_LIGHT : 1.0f);
|
||||
|
||||
ibDelete.setVisibility(readonly ? View.GONE : attachment.isInline() ? View.INVISIBLE : View.VISIBLE);
|
||||
tvName.setText(attachment.name);
|
||||
|
||||
Reference in New Issue
Block a user