Set blue color on notifications
This commit is contained in:
parent
40a061ae73
commit
d2cc4fcb05
@ -331,6 +331,7 @@ class NotificationHelper {
|
||||
.setContentTitle(getSingleItemTitleString(app, status))
|
||||
.setContentText(getSingleItemContentString(app, status))
|
||||
.setSmallIcon(iconSmall)
|
||||
.setColor(ContextCompat.getColor(context, R.color.fdroid_blue))
|
||||
.setLargeIcon(iconLarge)
|
||||
.setLocalOnly(true)
|
||||
.setVisibility(NotificationCompat.VISIBILITY_SECRET)
|
||||
@ -406,6 +407,7 @@ class NotificationHelper {
|
||||
new NotificationCompat.Builder(context)
|
||||
.setAutoCancel(!useStackedNotifications())
|
||||
.setSmallIcon(R.drawable.ic_launcher)
|
||||
.setColor(ContextCompat.getColor(context, R.color.fdroid_blue))
|
||||
.setContentTitle(title)
|
||||
.setContentText(text)
|
||||
.setContentIntent(piAction)
|
||||
@ -433,6 +435,7 @@ class NotificationHelper {
|
||||
.setAutoCancel(true)
|
||||
.setLargeIcon(iconLarge)
|
||||
.setSmallIcon(R.drawable.ic_launcher)
|
||||
.setColor(ContextCompat.getColor(context, R.color.fdroid_blue))
|
||||
.setContentTitle(app.name)
|
||||
.setContentText(context.getString(R.string.notification_content_single_installed))
|
||||
.setLocalOnly(true)
|
||||
@ -478,6 +481,7 @@ class NotificationHelper {
|
||||
new NotificationCompat.Builder(context)
|
||||
.setAutoCancel(!useStackedNotifications())
|
||||
.setSmallIcon(R.drawable.ic_launcher)
|
||||
.setColor(ContextCompat.getColor(context, R.color.fdroid_blue))
|
||||
.setContentTitle(title)
|
||||
.setContentText(text)
|
||||
.setContentIntent(piAction)
|
||||
|
Loading…
x
Reference in New Issue
Block a user