mirror of
https://github.com/yattee/yattee.git
synced 2025-10-10 17:38:15 +00:00
Feed calculation logic change
This commit is contained in:
@@ -130,7 +130,9 @@ final class FeedModel: ObservableObject, CacheModel {
|
||||
}
|
||||
|
||||
let byChannel = Dictionary(grouping: unwatched) { $0.channel.id }.mapValues(\.count)
|
||||
self.unwatchedByChannel[account] = byChannel
|
||||
if self.unwatchedByChannel[account] != byChannel {
|
||||
self.unwatchedByChannel[account] = byChannel
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user