Skip to content

Commit

Permalink
fix: menubar icons in preferences handle dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
lwouis committed May 31, 2022
1 parent 88783b3 commit 1653c16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/preferences-window/tabs/GeneralTab.swift
Expand Up @@ -9,7 +9,7 @@ class GeneralTab {
let menubarIconDropdown = menubarIcon[1] as! NSPopUpButton
for i in 0...2 {
let image = NSImage.initCopy("menubar-" + String(i + 1))
image.isTemplate = false
image.isTemplate = i < 2
menubarIconDropdown.item(at: i)!.image = image
}
menubarIconDropdown.item(at: 3)!.image = NSImage(size: NSSize(width: 1, height: menubarIconDropdown.item(at: 0)!.image!.size.height))
Expand Down

0 comments on commit 1653c16

Please sign in to comment.