1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-26 17:57:16 +00:00

Always show name only when available in normal view

This commit is contained in:
M66B 2018-12-06 16:31:33 +01:00
parent 3d5a49c2f8
commit 806d2352a9

View file

@ -374,7 +374,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
? R.drawable.baseline_star_24 : R.drawable.baseline_star_border_24);
ivFlagged.setVisibility(View.VISIBLE);
tvFrom.setText(MessageHelper.getFormattedAddresses(outgoing ? message.to : message.from, !compact));
tvFrom.setText(MessageHelper.getFormattedAddresses(outgoing ? message.to : message.from, false));
tvSize.setText(message.size == null ? null : Helper.humanReadableByteCount(message.size, true));
tvSize.setVisibility(message.size == null || message.content ? View.GONE : View.VISIBLE);
tvTime.setText(DateUtils.getRelativeTimeSpanString(context, message.received));