We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dbf04fc commit 83df6c7Copy full SHA for 83df6c7
1 file changed
GitHubListener/AppDelegate.swift
@@ -91,6 +91,7 @@ final class AppDelegate: NSObject, NSApplicationDelegate, NSUserNotificationCent
91
case .contentsClicked:
92
if let url = URL(string: notification.userInfo!["url"] as! String) {
93
NSWorkspace.shared.open(url)
94
+ nc.removeDeliveredNotification(notification)
95
}
96
case .actionButtonClicked:
97
notification.deliveryDate = Date(timeIntervalSinceNow: 60)
0 commit comments