Don't hide the Web Inspector menu item since the entire Debug menu is removed for release builds
This commit is contained in:
parent
180cc39904
commit
502f5656b8
|
@ -42,7 +42,6 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations,
|
|||
@IBOutlet var sortByOldestArticleOnTopMenuItem: NSMenuItem!
|
||||
@IBOutlet var sortByNewestArticleOnTopMenuItem: NSMenuItem!
|
||||
@IBOutlet var checkForUpdatesMenuItem: NSMenuItem!
|
||||
@IBOutlet var enableWebInspectorMenuItem: NSMenuItem!
|
||||
|
||||
var unreadCount = 0 {
|
||||
didSet {
|
||||
|
@ -117,7 +116,6 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations,
|
|||
|
||||
#if MAC_APP_STORE
|
||||
checkForUpdatesMenuItem.isHidden = true
|
||||
enableWebInspectorMenuItem.isHidden = true
|
||||
#endif
|
||||
|
||||
appName = (Bundle.main.infoDictionary!["CFBundleExecutable"]! as! String)
|
||||
|
|
Loading…
Reference in New Issue