diff --git a/Resources/Info.plist b/Resources/Info.plist index ef51755..7ca04f9 100644 --- a/Resources/Info.plist +++ b/Resources/Info.plist @@ -165,7 +165,7 @@ CFBundleSignature ???? CFBundleVersion - 2.4.0 + 2.4.1 LSApplicationCategoryType public.app-category.productivity NSAppTransportSecurity diff --git a/Sources/UserNotificationDelegate.swift b/Sources/UserNotificationDelegate.swift index 7bdd7ce..d3a11e7 100644 --- a/Sources/UserNotificationDelegate.swift +++ b/Sources/UserNotificationDelegate.swift @@ -2,6 +2,14 @@ import Cocoa import UserNotifications @objc class UserNotificationDelegate: NSObject, UNUserNotificationCenterDelegate, NSUserNotificationCenterDelegate { + public func userNotificationCenter(_ center: NSUserNotificationCenter, didDeliver: NSUserNotification) { + + } + + public func userNotificationCenter(_ center: NSUserNotificationCenter, didActivate: NSUserNotification) { + + } + public func userNotificationCenter(_ center: NSUserNotificationCenter, shouldPresent notification: NSUserNotification) -> Bool { return true }