Skip to content

Commit

Permalink
Update Dozer/DozerIcons.swift
Browse files Browse the repository at this point in the history
Co-authored-by: Morten <[email protected]>
  • Loading branch information
gingerbeardman and Mortennn authored Jul 5, 2020
1 parent 4fd457f commit 2b49302
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dozer/DozerIcons.swift
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ public final class DozerIcons {
public var enableIconAndMenu: Bool = Defaults[.showIconAndMenuEnabled] {
didSet {
Defaults[.showIconAndMenuEnabled] = self.enableIconAndMenu
if self.enableIconAndMenu == false {
_ = DozerIcons.toggleDockIcon(showIcon: false)
appDelegate.preferencesWindowController.show(preferencePane: .general)
}
}
}

Expand Down

0 comments on commit 2b49302

Please sign in to comment.