set color for notification for modified build too

This commit is contained in:
AndyScherzinger 2017-08-24 18:30:28 +02:00
parent 08f5e71d20
commit 2bc57557f9
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

@ -51,6 +51,7 @@ public class NCFirebaseMessagingService extends FirebaseMessagingService {
NotificationCompat.Builder notificationBuilder = new NotificationCompat.Builder(this)
.setSmallIcon(R.drawable.notification_icon)
.setLargeIcon(BitmapFactory.decodeResource(getResources(), R.drawable.notification_icon))
.setColor(ThemeUtils.primaryColor())
.setContentTitle(contentTitle)
.setSound(RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION))
.setAutoCancel(true)