From 7e5c293ebc547585c3df07bb1612e1b32a867a1f Mon Sep 17 00:00:00 2001 From: Onuray Sahin Date: Mon, 21 Mar 2022 17:27:14 +0300 Subject: [PATCH] Use primary color for location notification item. --- .../im/vector/app/features/notifications/NotificationUtils.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/vector/src/main/java/im/vector/app/features/notifications/NotificationUtils.kt b/vector/src/main/java/im/vector/app/features/notifications/NotificationUtils.kt index 9fa094075a..8120134526 100755 --- a/vector/src/main/java/im/vector/app/features/notifications/NotificationUtils.kt +++ b/vector/src/main/java/im/vector/app/features/notifications/NotificationUtils.kt @@ -529,6 +529,7 @@ class NotificationUtils @Inject constructor(private val context: Context, .setContentTitle(stringProvider.getString(R.string.live_location_sharing_notification_title)) .setContentText(stringProvider.getString(R.string.live_location_sharing_notification_description)) .setSmallIcon(R.drawable.ic_attachment_location_live_white) + .setColor(ThemeUtils.getColor(context, android.R.attr.colorPrimary)) .setCategory(NotificationCompat.CATEGORY_LOCATION_SHARING) .build() }