feat: subscriptions in notifications
This commit is contained in:
parent
6c1176a182
commit
df2867c7db
9 changed files with 105 additions and 19 deletions
|
@ -332,6 +332,20 @@ class NotificationItem(
|
|||
NotificationType.DANTOTSU_UPDATE -> {
|
||||
image(user = true)
|
||||
}
|
||||
|
||||
NotificationType.SUBSCRIPTION -> {
|
||||
image(user = true, commentNotification = true)
|
||||
binding.notificationCoverUser.setOnClickListener {
|
||||
clickCallback(
|
||||
notification.mediaId ?: 0, null, NotificationClickType.MEDIA
|
||||
)
|
||||
}
|
||||
binding.notificationBannerImage.setOnClickListener {
|
||||
clickCallback(
|
||||
notification.mediaId ?: 0, null, NotificationClickType.MEDIA
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue