fix: show subscription name

This commit is contained in:
rebelonion 2024-05-20 07:29:02 -05:00
parent 1dd3bddeb9
commit 2c3eb82e4b
4 changed files with 7 additions and 12 deletions

View file

@ -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)
}