Browse Source

Show size in bold for messages to download

main
M66B 6 years ago
parent
commit
05f2ed68e5
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      app/src/main/java/eu/faircode/email/AdapterMessage.java

+ 1
- 0
app/src/main/java/eu/faircode/email/AdapterMessage.java 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.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); tvSize.setVisibility(message.size == null ? View.GONE : View.VISIBLE);
ivAttachments.setVisibility(message.attachments > 0 ? View.VISIBLE : View.GONE); ivAttachments.setVisibility(message.attachments > 0 ? View.VISIBLE : View.GONE);


Loading…
Cancel
Save