Browse Source

fix: crash on public notification without color

main
Distopico Vegan 5 years ago
parent
commit
4bc5d9a81e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/src/main/java/org/dystopia/email/ServiceSynchronize.java

+ 1
- 1
app/src/main/java/org/dystopia/email/ServiceSynchronize.java View File

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


Loading…
Cancel
Save