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