Remove replays that were making things strange on macOS
This commit is contained in:
parent
d83ca618fb
commit
a1cbca8a0b
|
@ -75,7 +75,7 @@ private extension SidebarModel {
|
|||
.removeDuplicates(by: { previousFeeds, currentFeeds in
|
||||
return previousFeeds.elementsEqual(currentFeeds, by: { $0.feedID == $1.feedID })
|
||||
})
|
||||
.share(replay: 1)
|
||||
.share()
|
||||
.eraseToAnyPublisher()
|
||||
}
|
||||
|
||||
|
@ -108,7 +108,7 @@ private extension SidebarModel {
|
|||
.compactMap { [weak self] _, readFilter, selectedFeeds in
|
||||
self?.rebuildSidebarItems(isReadFiltered: readFilter, selectedFeeds: selectedFeeds)
|
||||
}
|
||||
.share(replay: 1)
|
||||
.share()
|
||||
.eraseToAnyPublisher()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue