mirror of
https://github.com/yattee/yattee.git
synced 2026-01-16 08:42:33 +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