From 180cc39904f4e79fb08eeebe86c2bd36b96e3c27 Mon Sep 17 00:00:00 2001 From: Nate Weaver Date: Thu, 19 Sep 2019 11:17:58 -0500 Subject: [PATCH] Negate MAC_APP_STORE Oops. (Was un-negated for testing.) --- Mac/AppDelegate.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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