Add color to notification data class

This commit is contained in:
MM20
2023-05-13 15:22:29 +02:00
parent 9a222e449c
commit b64555d3ae
@@ -15,6 +15,7 @@ data class Notification(
val postTime: Long,
val canShowBadge: Boolean,
val number: Int,
val color: Int,
val smallIcon: Icon?,
val extras: Bundle,
val flags: Int = 0,
@@ -30,6 +31,7 @@ data class Notification(
postTime = sbn.postTime,
canShowBadge = ranking.canShowBadge(),
number = sbn.notification.number,
color = sbn.notification.color,
smallIcon = sbn.notification.smallIcon,
extras = sbn.notification.extras,
flags = sbn.notification.flags,
@@ -46,6 +48,7 @@ data class Notification(
postTime = notification.postTime,
canShowBadge = ranking.canShowBadge(),
number = notification.number,
color = notification.color,
smallIcon = notification.smallIcon,
extras = notification.extras,
contentIntent = notification.contentIntent