mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-05 20:34:49 +01:00
Show account name for separated summary notification
This commit is contained in:
@@ -2111,10 +2111,13 @@ 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);
|
||||
builder.setColorized(true);
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user