Refactoring

This commit is contained in:
M66B
2019-01-17 10:53:29 +00:00
parent 69b5448859
commit 6157eece5e
3 changed files with 21 additions and 20 deletions

View File

@@ -105,7 +105,7 @@ public class AdapterAttachment extends RecyclerView.Adapter<AdapterAttachment.Vi
}
private void bindTo(EntityAttachment attachment) {
itemView.setAlpha(attachment.isInline() ? 0.6f : 1.0f);
itemView.setAlpha(attachment.isInline() ? Helper.LOW_LIGHT : 1.0f);
ivDelete.setVisibility(readonly ? View.GONE : attachment.isInline() ? View.INVISIBLE : View.VISIBLE);
tvName.setText(attachment.name);