feat: notification filtering
This commit is contained in:
parent
be97229618
commit
e1a865c973
10 changed files with 151 additions and 10 deletions
|
@ -315,6 +315,23 @@ class NotificationItem(
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
NotificationType.COMMENT_WARNING -> {
|
||||
image(user = true, commentNotification = true)
|
||||
if (notification.commentId != null && notification.mediaId != null) {
|
||||
binding.notificationBannerImage.setOnClickListener {
|
||||
clickCallback(
|
||||
notification.mediaId,
|
||||
notification.commentId,
|
||||
NotificationClickType.COMMENT
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
NotificationType.DANTOTSU_UPDATE -> {
|
||||
image(user = true)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue