Skip to content

Commit 4d408a5

Browse files
authored
Update menu bar icon and its behavior. (MonitorControl#880)
1 parent 370d6cf commit 4d408a5

File tree

6 files changed

+6
-10
lines changed

6 files changed

+6
-10
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"images" : [
33
{
4+
"filename" : "status.pdf",
45
"idiom" : "universal",
5-
"filename" : "status.png",
66
"scale" : "1x"
77
},
88
{
9+
"filename" : "[email protected]",
910
"idiom" : "universal",
10-
"filename" : "[email protected]",
1111
"scale" : "2x"
1212
},
1313
{
@@ -16,10 +16,10 @@
1616
}
1717
],
1818
"info" : {
19-
"version" : 1,
20-
"author" : "xcode"
19+
"author" : "xcode",
20+
"version" : 1
2121
},
2222
"properties" : {
2323
"template-rendering-intent" : "template"
2424
}
25-
}
25+
}
4.57 KB
Binary file not shown.
-1.28 KB
Binary file not shown.
Binary file not shown.
-1.55 KB
Binary file not shown.

MonitorControl/Support/AppDelegate.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
7171
}
7272
prefs.set(currentBuildNumber, forKey: PrefKey.buildNumber.rawValue)
7373
self.setDefaultPrefs()
74-
if !DEBUG_MACOS10, #available(macOS 11.0, *) {
75-
self.statusItem.button?.image = NSImage(systemSymbolName: "sun.max", accessibilityDescription: "MonitorControl")
76-
} else {
77-
self.statusItem.button?.image = NSImage(named: "status")
78-
}
74+
self.statusItem.button?.image = NSImage(named: "status")
7975
self.statusItem.menu = menu
8076
self.checkPermissions()
8177
CGDisplayRegisterReconfigurationCallback({ _, _, _ in app.displayReconfigured() }, nil)

0 commit comments

Comments
 (0)