|
|
@@ -11,7 +11,11 @@ final class StatusBarController: NSObject {
|
|
|
statusItem = NSStatusBar.system.statusItem(withLength: NSStatusItem.variableLength)
|
|
|
super.init()
|
|
|
|
|
|
- if let icon = NSImage(systemSymbolName: "calendar.badge.clock", accessibilityDescription: "Meetings") {
|
|
|
+ if let icon = NSImage(named: "StatusBarIcon") {
|
|
|
+ // Template so the system tints like other menu bar icons (adapts light/dark menu bar).
|
|
|
+ icon.isTemplate = true
|
|
|
+ statusItem.button?.image = icon
|
|
|
+ } else if let icon = NSImage(systemSymbolName: "calendar.badge.clock", accessibilityDescription: "Meetings") {
|
|
|
icon.isTemplate = true
|
|
|
statusItem.button?.image = icon
|
|
|
} else {
|
|
|
@@ -55,6 +59,7 @@ final class StatusBarController: NSObject {
|
|
|
addOpenSidebarItem(title: "Schedule", pageRaw: 1, to: menu)
|
|
|
addOpenSidebarItem(title: "Calendar", pageRaw: 2, to: menu)
|
|
|
addOpenSidebarItem(title: "Widgets", pageRaw: 3, to: menu)
|
|
|
+ addOpenSidebarItem(title: "AI Companion", pageRaw: 5, to: menu)
|
|
|
addOpenSidebarItem(title: "Settings", pageRaw: 4, to: menu)
|
|
|
|
|
|
let signedIn = authService.loadTokens() != nil
|