Skip fetching unread counts on changing sidebar selection. It’s not needed and it’s expensive. This provides a major performance boost when using my 2500-feed test.
This commit is contained in:
parent
ebe43c43f8
commit
e091f1c609
|
@ -256,9 +256,6 @@ private extension SidebarViewController {
|
||||||
let appInfo = AppInfo()
|
let appInfo = AppInfo()
|
||||||
if let objects = selectedObjects {
|
if let objects = selectedObjects {
|
||||||
appInfo.objects = objects
|
appInfo.objects = objects
|
||||||
DispatchQueue.main.async {
|
|
||||||
self.updateUnreadCounts(for: objects)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
appInfo.view = outlineView
|
appInfo.view = outlineView
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue