mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-26 17:05:19 +01:00
Don't animate backing store rebuild on initial state restoration because it interferes with feed selection. Fixes #3475
This commit is contained in:
parent
8ffdf725d2
commit
d68d4228f9
@ -1111,7 +1111,7 @@ class SceneCoordinator: NSObject, UndoableCommandRunner {
|
||||
return timelineFeed == feed
|
||||
}
|
||||
|
||||
func discloseWebFeed(_ webFeed: WebFeed, animations: Animations = [], completion: (() -> Void)? = nil) {
|
||||
func discloseWebFeed(_ webFeed: WebFeed, initialLoad: Bool = false, animations: Animations = [], completion: (() -> Void)? = nil) {
|
||||
if isSearching {
|
||||
masterTimelineViewController?.hideSearch()
|
||||
}
|
||||
@ -1135,7 +1135,7 @@ class SceneCoordinator: NSObject, UndoableCommandRunner {
|
||||
self.treeControllerDelegate.addFilterException(parentFolderFeedID)
|
||||
}
|
||||
|
||||
rebuildBackingStores(completion: {
|
||||
rebuildBackingStores(initialLoad: initialLoad, completion: {
|
||||
self.treeControllerDelegate.resetFilterExceptions()
|
||||
self.selectFeed(webFeed, animations: animations, completion: completion)
|
||||
})
|
||||
@ -2272,7 +2272,7 @@ private extension SceneCoordinator {
|
||||
return
|
||||
}
|
||||
|
||||
self.discloseWebFeed(webFeed) {
|
||||
self.discloseWebFeed(webFeed, initialLoad: true) {
|
||||
self.masterFeedViewController.focus()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user