mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-02 18:32:55 +00:00
Use correct method to scan the nodes
This commit is contained in:
1 parent
bceccd76b5
commit
0f66e2b5e3
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user