fix open in app browser for mac and iOS
This commit is contained in:
parent
8a03a26a10
commit
eb7ac0f076
@ -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)
|
||||
|
@ -110,7 +110,7 @@
|
||||
<key>key</key>
|
||||
<string>[return]</string>
|
||||
<key>action</key>
|
||||
<string>openInBrowser:</string>
|
||||
<string>openFeedInAppBrowser:</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>key</key>
|
||||
|
Loading…
x
Reference in New Issue
Block a user