mirror of https://github.com/M66B/FairEmail.git
Small attachment fix
This commit is contained in:
parent
6366ddc053
commit
7fb4f2fb48
|
@ -111,7 +111,7 @@ public class AdapterAttachment extends RecyclerView.Adapter<AdapterAttachment.Vi
|
||||||
}
|
}
|
||||||
|
|
||||||
private void bindTo(EntityAttachment attachment) {
|
private void bindTo(EntityAttachment attachment) {
|
||||||
view.setAlpha(attachment.isInline() ? Helper.LOW_LIGHT : 1.0f);
|
view.setAlpha(!attachment.isAttachment() ? Helper.LOW_LIGHT : 1.0f);
|
||||||
|
|
||||||
ibDelete.setVisibility(readonly ? View.GONE :
|
ibDelete.setVisibility(readonly ? View.GONE :
|
||||||
attachment.isInline() && attachment.error == null ? View.INVISIBLE : View.VISIBLE);
|
attachment.isInline() && attachment.error == null ? View.INVISIBLE : View.VISIBLE);
|
||||||
|
|
Loading…
Reference in New Issue