|
|
@ -104,10 +104,10 @@ public final class NotificationServiceExtension : UNNotificationServiceExtension
|
|
|
|
notificationContent.body = snippet
|
|
|
|
notificationContent.body = snippet
|
|
|
|
case .nameNoPreview:
|
|
|
|
case .nameNoPreview:
|
|
|
|
notificationContent.title = senderDisplayName
|
|
|
|
notificationContent.title = senderDisplayName
|
|
|
|
notificationContent.body = "You've got a new message"
|
|
|
|
notificationContent.body = NotificationStrings.incomingMessageBody
|
|
|
|
case .noNameNoPreview:
|
|
|
|
case .noNameNoPreview:
|
|
|
|
notificationContent.title = "Session"
|
|
|
|
notificationContent.title = "Session"
|
|
|
|
notificationContent.body = "You've got a new message"
|
|
|
|
notificationContent.body = NotificationStrings.incomingMessageBody
|
|
|
|
default: break
|
|
|
|
default: break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
self.handleSuccess(for: notificationContent)
|
|
|
|
self.handleSuccess(for: notificationContent)
|
|
|
|