Skip to content

Commit 8186b84

Browse files
committed
Change menu bar icon image
1 parent d026442 commit 8186b84

File tree

5 files changed

+24
-4
lines changed

5 files changed

+24
-4
lines changed

ExtensionService/AppDelegate.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSWindowDelegate {
5151
statusBarItem = statusBar.statusItem(
5252
withLength: NSStatusItem.squareLength
5353
)
54-
statusBarItem.button?.image = NSImage(
55-
systemSymbolName: "steeringwheel",
56-
accessibilityDescription: nil
57-
)
54+
statusBarItem.button?.image = NSImage(named: "MenuBarIcon")
5855

5956
let statusBarMenu = NSMenu(title: "Status Bar Menu")
6057
statusBarItem.menu = statusBarMenu
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "octopus.png",
5+
"idiom" : "universal",
6+
"scale" : "1x"
7+
},
8+
{
9+
"filename" : "octopus 2.png",
10+
"idiom" : "universal",
11+
"scale" : "2x"
12+
},
13+
{
14+
"filename" : "octopus 1.png",
15+
"idiom" : "universal",
16+
"scale" : "3x"
17+
}
18+
],
19+
"info" : {
20+
"author" : "xcode",
21+
"version" : 1
22+
}
23+
}
2.53 KB
Loading
1.8 KB
Loading
1.18 KB
Loading

0 commit comments

Comments
 (0)