Reverse sender/recipient in outgoing folders

This commit is contained in:
M66B 2020-10-12 19:53:04 +02:00
parent be7fc3a0da
commit 963d147574
2 changed files with 3 additions and 1 deletions

View File

@ -1021,7 +1021,8 @@ 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(R.string.title_from_to,
tvFrom.setText(context.getString(
outgoing && viewType != ViewType.THREAD ? R.string.title_to_from : R.string.title_from_to,
MessageHelper.formatAddresses(senders, name_email, false),
MessageHelper.formatAddresses(recipients, name_email, false)));
else

View File

@ -113,6 +113,7 @@
<string name="title_name_count">%1$s (%2$s)</string>
<string name="title_name_plus">%1$s +%2$d</string>
<string name="title_from_to">%1$s ➤ %2$s</string>
<string name="title_to_from">%2$s &lt; %1$s</string>
<string name="title_title_description">%1$s: %2$s</string>
<string name="title_factor_minutes">%1$d minutes</string>