Made notifications colorized

This commit is contained in:
M66B
2018-11-10 08:08:31 +00:00
parent 78702f08ee
commit 0963edffc4

View File

@@ -542,8 +542,11 @@ public class ServiceSynchronize extends LifecycleService {
mbuilder.addPerson(message.avatar);
}
if (message.accountColor != null)
if (message.accountColor != null) {
mbuilder.setColor(message.accountColor);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O)
mbuilder.setColorized(true);
}
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O)