Remove removeDuplicates operator as it wasn't needed

This commit is contained in:
Maurice Parker 2020-07-24 13:57:08 -05:00
parent a25ed4da4a
commit 3b648ac548
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ private extension SidebarModel {
sidebarItemsPublisher = sidebarRebuildPublishers
.prepend(kickStarter)
.debounce(for: .milliseconds(500), scheduler: RunLoop.main)
.combineLatest($isReadFiltered.removeDuplicates(), selectedFeedsPublisher)
.combineLatest($isReadFiltered, selectedFeedsPublisher)
.compactMap { [weak self] _, readFilter, selectedFeeds in
self?.rebuildSidebarItems(isReadFiltered: readFilter, selectedFeeds: selectedFeeds)
}