diff --git a/Mac/AppDelegate.swift b/Mac/AppDelegate.swift index f365d022b..8adf6b39e 100644 --- a/Mac/AppDelegate.swift +++ b/Mac/AppDelegate.swift @@ -478,13 +478,6 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations, return !isDisplayingSheet && !AccountManager.shared.activeAccounts.isEmpty } - if item.action == #selector(showAddRedditFeedWindow(_:)) { - guard !isDisplayingSheet && isSpecialAccountAvailable && ExtensionPointManager.shared.isRedditEnabled else { - return false - } - return ExtensionPointManager.shared.isRedditEnabled - } - #if !MAC_APP_STORE if item.action == #selector(toggleWebInspectorEnabled(_:)) { (item as! NSMenuItem).state = AppDefaults.shared.webInspectorEnabled ? .on : .off @@ -558,12 +551,6 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations, addWebFeed(nil) } - @IBAction func showAddRedditFeedWindow(_ sender: Any?) { - createAndShowMainWindowIfNecessary() - addFeedController = AddFeedController(hostWindow: mainWindowController!.window!) - addFeedController?.showAddFeedSheet(.redditFeed) - } - @IBAction func showAddFolderWindow(_ sender: Any?) { createAndShowMainWindowIfNecessary() showAddFolderSheetOnWindow(mainWindowController!.window!) diff --git a/Mac/MainWindow/MainWindowController.swift b/Mac/MainWindow/MainWindowController.swift index 6d2c0507b..964ac5ef8 100644 --- a/Mac/MainWindow/MainWindowController.swift +++ b/Mac/MainWindow/MainWindowController.swift @@ -1441,11 +1441,6 @@ private extension MainWindowController { newWebFeedItem.action = Selector(("showAddWebFeedWindow:")) menu.addItem(newWebFeedItem) - let newRedditFeedItem = NSMenuItem() - newRedditFeedItem.title = NSLocalizedString("New Reddit Feed…", comment: "New Reddit Feed") - newRedditFeedItem.action = Selector(("showAddRedditFeedWindow:")) - menu.addItem(newRedditFeedItem) - let newFolderFeedItem = NSMenuItem() newFolderFeedItem.title = NSLocalizedString("New Folder…", comment: "New Folder") newFolderFeedItem.action = Selector(("showAddFolderWindow:"))