|
|
@@ -12,6 +12,10 @@ class AppDelegate: NSObject, NSApplicationDelegate {
|
|
12
|
12
|
|
|
13
|
13
|
private let minimumWindowSize = NSSize(width: 1024, height: 700)
|
|
14
|
14
|
|
|
|
15
|
+ func applicationWillFinishLaunching(_ notification: Notification) {
|
|
|
16
|
+ // Dashboard is light-themed; without this, a Dark Mode Mac paints a dark title bar.
|
|
|
17
|
+ NSApp.appearance = NSAppearance(named: .aqua)
|
|
|
18
|
+ }
|
|
15
|
19
|
|
|
16
|
20
|
func applicationDidFinishLaunching(_ aNotification: Notification) {
|
|
17
|
21
|
NSApp.activate(ignoringOtherApps: true)
|