diff --git a/Mac/AppDelegate.swift b/Mac/AppDelegate.swift index fcde2aaad..190f747d3 100644 --- a/Mac/AppDelegate.swift +++ b/Mac/AppDelegate.swift @@ -311,7 +311,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations, if item.action == #selector(showAddFeedWindow(_:)) || item.action == #selector(showAddFolderWindow(_:)) { return !isDisplayingSheet && !AccountManager.shared.activeAccounts.isEmpty } - #if MAC_APP_STORE + #if !MAC_APP_STORE if item.action == #selector(toggleWebInspectorEnabled(_:)) { (item as! NSMenuItem).state = AppDefaults.webInspectorEnabled ? .on : .off } @@ -534,7 +534,7 @@ extension AppDelegate { } @IBAction func toggleWebInspectorEnabled(_ sender: Any?) { - #if MAC_APP_STORE + #if !MAC_APP_STORE let newValue = !AppDefaults.webInspectorEnabled AppDefaults.webInspectorEnabled = newValue