Remove replays that were making things strange on macOS

This commit is contained in:
Maurice Parker 2020-07-25 17:31:34 -05:00
parent d83ca618fb
commit a1cbca8a0b
1 changed files with 2 additions and 2 deletions

View File

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