Separated summary notification account color

pull/162/head
M66B 5 years ago
parent b3982bef89
commit 8e2e980f47

@ -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…
Cancel
Save