mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Refactor select web feed in sidebar to use the delegate pattern instead of a notification.
This commit is contained in:
@@ -514,6 +514,11 @@ extension MainWindowController: TimelineContainerViewControllerDelegate {
|
||||
|
||||
detailViewController?.setState(detailState, mode: mode)
|
||||
}
|
||||
|
||||
func timelineRequestedWebFeedSelection(_: TimelineContainerViewController, webFeed: WebFeed) {
|
||||
sidebarViewController?.selectWebFeed(webFeed)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// MARK: - NSSearchFieldDelegate
|
||||
|
||||
Reference in New Issue
Block a user