fix: show subscription name
This commit is contained in:
parent
1dd3bddeb9
commit
2c3eb82e4b
4 changed files with 7 additions and 12 deletions
|
@ -238,6 +238,9 @@ class SubscriptionNotificationTask : Task {
|
|||
if (newStore.size >= 100) {
|
||||
newStore.remove(newStore.minByOrNull { it.time })
|
||||
}
|
||||
if (newStore.any { it.title == notification.title && it.content == notification.content}) {
|
||||
return
|
||||
}
|
||||
newStore.add(notification)
|
||||
PrefManager.setVal(PrefName.SubscriptionNotificationStore, newStore)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue