aboutsummaryrefslogtreecommitdiff
path: root/HoloBar/HoloBarApp.swift
diff options
context:
space:
mode:
Diffstat (limited to 'HoloBar/HoloBarApp.swift')
-rw-r--r--HoloBar/HoloBarApp.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/HoloBar/HoloBarApp.swift b/HoloBar/HoloBarApp.swift
index 650495b..699d135 100644
--- a/HoloBar/HoloBarApp.swift
+++ b/HoloBar/HoloBarApp.swift
@@ -55,7 +55,7 @@ struct HoloBarApp: App {
}
Button("Refresh", action: refreshCharacters)
- Button("Quit", action: { NSApplication.shared.terminate(nil) })
+ Button("Quit") { NSApplication.shared.terminate(nil) }
}
.onReceive(NotificationCenter.default.publisher(for: .NSCalendarDayChanged)) { _ in
refreshCharacters()