fix open in app browser for mac and iOS

This commit is contained in:
Rizwan Mohamed Ibrahim
2020-05-29 15:44:32 +05:30
parent 8a03a26a10
commit eb7ac0f076
2 changed files with 6 additions and 1 deletions

View File

@@ -273,6 +273,11 @@ class MainWindowController : NSWindowController, NSUserInterfaceValidations {
openArticleInBrowser(sender)
}
@objc func openFeedInAppBrowser(_ sender: Any?) {
// There is no In-App Browser for mac - so we use safari
openArticleInBrowser(sender)
}
@IBAction func openInBrowserUsingOppositeOfSettings(_ sender: Any?) {
if let link = currentLink {
Browser.open(link, inBackground: !AppDefaults.openInBrowserInBackground)