mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Make a Browser struct with two static methods to replace two top-level functions.
This commit is contained in:
@@ -86,7 +86,7 @@ class MainWindowController : NSWindowController, NSUserInterfaceValidations {
|
||||
@IBAction func openArticleInBrowser(_ sender: AnyObject?) {
|
||||
|
||||
if let link = currentLink {
|
||||
openInBrowser(link)
|
||||
Browser.open(link)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user