mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-01 03:45:10 +00:00
Show size in bold for messages to download
This commit is contained in:
parent
cf957d763e
commit
05f2ed68e5
1 changed files with 1 additions and 0 deletions
|
@ -171,6 +171,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.setVisibility(message.size == null ? View.GONE : View.VISIBLE);
|
||||
|
||||
ivAttachments.setVisibility(message.attachments > 0 ? View.VISIBLE : View.GONE);
|
||||
|
|
Loading…
Reference in a new issue