mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
set color for notification for modified build too
This commit is contained in:
parent
08f5e71d20
commit
2bc57557f9
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue