mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 12:44:42 +00:00
Limit number of recipients in headers (2)
This commit is contained in:
parent
3cfa634ac9
commit
31d24b9060
1 changed files with 3 additions and 1 deletions
|
@ -1322,7 +1322,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
MessageHelper.AddressFormat format = email_format;
|
||||
|
||||
if (show_recipients && recipients != null && recipients.length > 0) {
|
||||
int maxRecipients = (compact ? MAX_RECIPIENTS_COMPACT : MAX_RECIPIENTS_NORMAL);
|
||||
int maxRecipients = (viewType == ViewType.THREAD
|
||||
? Integer.MAX_VALUE
|
||||
: (compact ? MAX_RECIPIENTS_COMPACT : MAX_RECIPIENTS_NORMAL));
|
||||
tvFrom.setText(context.getString(outgoing && viewType != ViewType.THREAD && compact
|
||||
? R.string.title_to_from
|
||||
: R.string.title_from_to,
|
||||
|
|
Loading…
Reference in a new issue