From 7c60e9b04b41bab2b3d7c7df042deaf99f36e363 Mon Sep 17 00:00:00 2001 From: Max Goedjen Date: Sat, 21 Mar 2020 17:55:31 -0700 Subject: [PATCH] Improve subtitle --- SecretAgent/Notifier.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SecretAgent/Notifier.swift b/SecretAgent/Notifier.swift index ace969d..d805066 100644 --- a/SecretAgent/Notifier.swift +++ b/SecretAgent/Notifier.swift @@ -16,7 +16,7 @@ class Notifier { let notificationCenter = UNUserNotificationCenter.current() let notificationContent = UNMutableNotificationContent() 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) { notificationContent.attachments = [attachment] }