Dim size on body to download

This commit is contained in:
M66B 2018-10-25 06:22:06 +00:00
parent 9c15570d07
commit c32397539d
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ public class AdapterMessage extends PagedListAdapter<TupleMessageEx, AdapterMess
}
tvSize.setText(message.size == null ? null : Helper.humanReadableByteCount(message.size, true));
tvSize.setTypeface(null, message.content ? Typeface.NORMAL : Typeface.BOLD);
tvSize.setAlpha(message.content ? 1.0f : 0.5f);
tvSize.setVisibility(message.size == null ? View.GONE : View.VISIBLE);
ivAttachments.setVisibility(message.attachments > 0 ? View.VISIBLE : View.GONE);