diff --git a/Changelog.md b/Changelog.md index 30d26d4..759b9a9 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,3 +1,8 @@ +## 0.9.0.beta3 + +### Changed +- Do not change status bar icon when proxy servers are stopped. + ## 0.9.0.beta2 ### Fixed diff --git a/SpechtLite/ViewController/MenuBarController.swift b/SpechtLite/ViewController/MenuBarController.swift index b9f101d..d3bffcf 100644 --- a/SpechtLite/ViewController/MenuBarController.swift +++ b/SpechtLite/ViewController/MenuBarController.swift @@ -176,6 +176,7 @@ class MenuBarController: NSObject, NSMenuDelegate { override init() { let icon = NSImage(named: "StatusIcon")! + icon.isTemplate = true barItem = NSStatusBar.system().statusItem(withLength: -1) barItem.image = icon barItem.menu = NSMenu() @@ -183,10 +184,6 @@ class MenuBarController: NSObject, NSMenuDelegate { super.init() barItem.menu!.delegate = self - - ProfileManager.currentProfile.producer.map { $0 != nil }.startWithValues { [weak self] in - self?.barItem.image?.isTemplate = $0 - } } func menuNeedsUpdate(_ menu: NSMenu) {