mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 23:12:55 +00:00
Show account name for separated summary notification
This commit is contained in:
parent
4f4ab3a625
commit
4e164c9fbd
1 changed files with 7 additions and 4 deletions
|
@ -2111,11 +2111,14 @@ class Core {
|
|||
.setGroupSummary(true)
|
||||
.setGroupAlertBehavior(NotificationCompat.GROUP_ALERT_CHILDREN);
|
||||
|
||||
if (pro && group != 0 &&
|
||||
messages.size() > 0 && messages.get(0).accountColor != null) {
|
||||
builder.setColor(messages.get(0).accountColor);
|
||||
if (pro && group != 0 && messages.size() > 0) {
|
||||
TupleMessageEx amessage = messages.get(0);
|
||||
if (amessage.accountColor != null) {
|
||||
builder.setColor(amessage.accountColor);
|
||||
builder.setColorized(true);
|
||||
}
|
||||
builder.setSubText(amessage.accountName);
|
||||
}
|
||||
|
||||
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.O)
|
||||
builder.setSound(null);
|
||||
|
|
Loading…
Reference in a new issue