Coalesce more rebuild commands to make the unread count items appear more smoothly.

This commit is contained in:
Maurice Parker 2020-03-11 14:49:17 -06:00
parent 45bae1cd58
commit 202ee57697
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ protocol SidebarDelegate: class {
weak var delegate: SidebarDelegate? weak var delegate: SidebarDelegate?
private let rebuildTreeAndRestoreSelectionQueue = CoalescingQueue(name: "Rebuild Tree Queue", interval: 0.5) private let rebuildTreeAndRestoreSelectionQueue = CoalescingQueue(name: "Rebuild Tree Queue", interval: 1.0)
let treeControllerDelegate = WebFeedTreeControllerDelegate() let treeControllerDelegate = WebFeedTreeControllerDelegate()
lazy var treeController: TreeController = { lazy var treeController: TreeController = {
return TreeController(delegate: treeControllerDelegate) return TreeController(delegate: treeControllerDelegate)