fix: menubar icons in preferences handle dark mode
This commit is contained in:
1 parent
88783b3f5f
commit
1653c16c65
1 file changed
+1
-1
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user