mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-03 03:19:24 +01:00
Made notifications colorized
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user