1
0
Fork 0
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:
M66B 2018-09-21 17:54:18 +00:00
parent cf957d763e
commit 05f2ed68e5

View file

@ -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);