From 982e6f9ac3157c051d01f668e9cdda05e8c7dc19 Mon Sep 17 00:00:00 2001 From: Christoph Hagen Date: Sun, 5 Jun 2022 23:06:17 +0200 Subject: [PATCH] Make topic extension public --- Sources/PushAPI/PushMessage.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/PushAPI/PushMessage.swift b/Sources/PushAPI/PushMessage.swift index 235e862..4bd4f60 100644 --- a/Sources/PushAPI/PushMessage.swift +++ b/Sources/PushAPI/PushMessage.swift @@ -82,7 +82,7 @@ extension APNSwiftConnection.PushType: Codable { extension APNSwiftConnection.PushType { /// The extension to add to the push topic depending on the notification type - var topicExtension: String { + public var topicExtension: String { switch self { case .alert, .background: return ""