Fix build

pull/156/head
gmbnt 5 years ago
parent b3c661c1fd
commit f0ce6964e9

@ -199,7 +199,7 @@ final class NotificationServiceExtension : UNNotificationServiceExtension {
func completeWithFailure(content: UNMutableNotificationContent) { func completeWithFailure(content: UNMutableNotificationContent) {
content.body = "You've got a new message." content.body = "You've got a new message."
content.title = "Session" content.title = "Session"
let userInfo: [String:Any] = [NotificationService.isFromRemoteKey : true] let userInfo: [String:Any] = [NotificationServiceExtension.isFromRemoteKey : true]
content.userInfo = userInfo content.userInfo = userInfo
contentHandler?(content) contentHandler?(content)
} }

Loading…
Cancel
Save