From 4bc5d9a81eca608ab41cc6a170798093c2438262 Mon Sep 17 00:00:00 2001 From: Distopico Vegan Date: Thu, 22 Nov 2018 21:41:15 -0500 Subject: [PATCH] fix: crash on public notification without color --- app/src/main/java/org/dystopia/email/ServiceSynchronize.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/dystopia/email/ServiceSynchronize.java b/app/src/main/java/org/dystopia/email/ServiceSynchronize.java index 2c80a12a..34edf35a 100644 --- a/app/src/main/java/org/dystopia/email/ServiceSynchronize.java +++ b/app/src/main/java/org/dystopia/email/ServiceSynchronize.java @@ -483,7 +483,7 @@ public class ServiceSynchronize extends LifecycleService { getResources().getQuantityString(R.plurals.title_notification_unseen, size, size); // Summary notification - Notification.Builder pbuilder = getNotificationPublic(accountName, accountColor, size); + Notification.Builder pbuilder = getNotificationPublic(accountName, groupColor, size); Notification.Builder gbuilder = Helper.getNotificationBuilder(this, channelId); gbuilder.setSmallIcon(R.drawable.ic_mail_icon).setContentTitle(summaryText)