修复加密推送 subtitle 不正确显示的问题。

This commit is contained in:
Fin 2024-12-12 09:45:55 +08:00
parent 3c78e11125
commit 98e201773c

View File

@ -28,7 +28,7 @@ class CiphertextProcessor: NotificationContentProcessor {
alert["title"] = title alert["title"] = title
} }
if let subtitle = map["subtitle"] as? String { if let subtitle = map["subtitle"] as? String {
bestAttemptContent.title = subtitle bestAttemptContent.subtitle = subtitle
alert["subtitle"] = subtitle alert["subtitle"] = subtitle
} }
if let body = map["body"] as? String { if let body = map["body"] as? String {