Эх сурвалжийг харах

set color for notification for modified build too

AndyScherzinger 7 жил өмнө
parent
commit
2bc57557f9

+ 1 - 0
src/modified/java/com/owncloud/android/services/firebase/NCFirebaseMessagingService.java

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