Negate MAC_APP_STORE

Oops. (Was un-negated for testing.)
This commit is contained in:
Nate Weaver 2019-09-19 11:17:58 -05:00
parent 4a0bbeacc2
commit 180cc39904
1 changed files with 2 additions and 2 deletions

View File

@ -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