Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/ios.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarinofaggiana <marino@marinofaggiana.com>2020-06-10 13:06:55 +0300
committermarinofaggiana <marino@marinofaggiana.com>2020-06-10 13:06:55 +0300
commit34ca59396ac16f8f5057ba343709ce053ad41987 (patch)
tree1954740a8022de41ad836ebe3acdec82bab977fd /Notification Service Extension
parentf6c1178cd5b8e9879d4dd1c79ee306be43fd71b2 (diff)
coding
Diffstat (limited to 'Notification Service Extension')
-rw-r--r--Notification Service Extension/NotificationService.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/Notification Service Extension/NotificationService.swift b/Notification Service Extension/NotificationService.swift
index 75bb7e6df..e34b606bd 100644
--- a/Notification Service Extension/NotificationService.swift
+++ b/Notification Service Extension/NotificationService.swift
@@ -46,7 +46,7 @@ class NotificationService: UNNotificationServiceExtension {
guard let data = decryptedMessage.data(using: .utf8) else {
continue
}
- let json = try JSONSerialization.jsonObject(with: data) as! [String:AnyObject]
+ let json = try JSONSerialization.jsonObject(with: data) as! [String: AnyObject]
if let subject = json["subject"] as? String {
bestAttemptContent.body = subject
}