mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 14:17:03 +02:00
Revert "Consider images without name as inline"
This reverts commit f88879f8df.
This commit is contained in:
@@ -106,7 +106,7 @@ public class AdapterAttachment extends RecyclerView.Adapter<AdapterAttachment.Vi
|
||||
}
|
||||
|
||||
private void bindTo(EntityAttachment attachment) {
|
||||
view.setAlpha(attachment.isInlineImage() ? Helper.LOW_LIGHT : 1.0f);
|
||||
view.setAlpha(attachment.isInline() && attachment.isImage() ? 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