mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-29 02:09:30 +01:00
Use correct method to scan the nodes
This commit is contained in:
parent
bceccd76b5
commit
0f66e2b5e3
@ -604,7 +604,7 @@ class SceneCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider {
|
||||
}
|
||||
|
||||
func masterFeedIndexPathForCurrentTimeline() -> IndexPath? {
|
||||
guard let node = treeController.rootNode.descendantNode(where: { return $0.representedObject === timelineFetcher as AnyObject }) else {
|
||||
guard let node = treeController.rootNode.descendantNodeRepresentingObject(timelineFetcher as AnyObject) else {
|
||||
return nil
|
||||
}
|
||||
return indexPathFor(node)
|
||||
|
Loading…
x
Reference in New Issue
Block a user