Skip to content

Commit 49c3bdd

Browse files
refactor: remove pre instanciation of the icon
1 parent 4e946e0 commit 49c3bdd

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

GitHub Notifications/AppDelegate.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@ class AppDelegate: NSObject, NSApplicationDelegate {
3636
override func awakeFromNib() {
3737
super.awakeFromNib()
3838

39-
let itemImage = NSImage(named: "StatusItemImage")
40-
itemImage?.isTemplate = true
41-
42-
statusItem.button?.image = itemImage
43-
4439
if let menu = menu {
4540
statusItem.menu = menu
4641
}

0 commit comments

Comments
 (0)