mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-15 19:11:03 +01:00
Change to not debounce the filter button
This commit is contained in:
parent
e8742306ad
commit
a990e07351
@ -74,8 +74,8 @@ private extension SidebarModel {
|
|||||||
unreadCountDidChangePublisher)
|
unreadCountDidChangePublisher)
|
||||||
|
|
||||||
sidebarRebuildPublishers
|
sidebarRebuildPublishers
|
||||||
.combineLatest($isReadFiltered)
|
|
||||||
.debounce(for: .milliseconds(500), scheduler: RunLoop.main)
|
.debounce(for: .milliseconds(500), scheduler: RunLoop.main)
|
||||||
|
.combineLatest($isReadFiltered)
|
||||||
.sink { [weak self] _, readFilter in
|
.sink { [weak self] _, readFilter in
|
||||||
self?.rebuildSidebarItems(isReadFiltered: readFilter)
|
self?.rebuildSidebarItems(isReadFiltered: readFilter)
|
||||||
}.store(in: &cancellables)
|
}.store(in: &cancellables)
|
||||||
|
Loading…
Reference in New Issue
Block a user