Show account name for separated summary notification

pull/162/head
M66B 5 years ago
parent 4f4ab3a625
commit 4e164c9fbd

@ -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)

Loading…
Cancel
Save