mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 15:11:03 +00:00
Separated summary notification account color
This commit is contained in:
parent
b3982bef89
commit
8e2e980f47
1 changed files with 6 additions and 0 deletions
|
@ -2111,6 +2111,12 @@ 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 (Build.VERSION.SDK_INT < Build.VERSION_CODES.O)
|
||||
builder.setSound(null);
|
||||
|
||||
|
|
Loading…
Reference in a new issue