Merge branch 'master' of github.com:maxgoedjen/secretive
This commit is contained in:
commit
2e9a3eb90d
Binary file not shown.
Before Width: | Height: | Size: 1.5 MiB After Width: | Height: | Size: 1.6 MiB |
|
@ -16,7 +16,7 @@ class Notifier {
|
||||||
let notificationCenter = UNUserNotificationCenter.current()
|
let notificationCenter = UNUserNotificationCenter.current()
|
||||||
let notificationContent = UNMutableNotificationContent()
|
let notificationContent = UNMutableNotificationContent()
|
||||||
notificationContent.title = "Signed Request from \(provenance.origin.name)"
|
notificationContent.title = "Signed Request from \(provenance.origin.name)"
|
||||||
notificationContent.subtitle = secret.name
|
notificationContent.subtitle = "Using secret \"\(secret.name)\""
|
||||||
if let iconURL = iconURL(for: provenance), let attachment = try? UNNotificationAttachment(identifier: "icon", url: iconURL, options: nil) {
|
if let iconURL = iconURL(for: provenance), let attachment = try? UNNotificationAttachment(identifier: "icon", url: iconURL, options: nil) {
|
||||||
notificationContent.attachments = [attachment]
|
notificationContent.attachments = [attachment]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue