Change to not debounce the filter button

This commit is contained in:
Maurice Parker 2020-07-21 10:53:31 -05:00
parent e8742306ad
commit a990e07351
1 changed files with 1 additions and 1 deletions

View File

@ -74,8 +74,8 @@ private extension SidebarModel {
unreadCountDidChangePublisher)
sidebarRebuildPublishers
.combineLatest($isReadFiltered)
.debounce(for: .milliseconds(500), scheduler: RunLoop.main)
.combineLatest($isReadFiltered)
.sink { [weak self] _, readFilter in
self?.rebuildSidebarItems(isReadFiltered: readFilter)
}.store(in: &cancellables)