mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-27 03:31:03 +00:00
fix: show subscription name
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user