mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-15 08:29:24 +00:00
Reverse sender/recipient in compact mode only
This commit is contained in:
parent
27b502c530
commit
f536e27bbc
1 changed files with 3 additions and 2 deletions
|
@ -991,8 +991,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
ivSigned.clearColorFilter();
|
||||
ivEncrypted.setVisibility(message.encrypted > 0 ? View.VISIBLE : View.GONE);
|
||||
if (show_recipients && recipients != null && recipients.length > 0)
|
||||
tvFrom.setText(context.getString(
|
||||
outgoing && viewType != ViewType.THREAD ? R.string.title_to_from : R.string.title_from_to,
|
||||
tvFrom.setText(context.getString(outgoing && viewType != ViewType.THREAD && compact
|
||||
? R.string.title_to_from
|
||||
: R.string.title_from_to,
|
||||
MessageHelper.formatAddresses(senders, name_email, false),
|
||||
MessageHelper.formatAddresses(recipients, name_email, false)));
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue