UserNotificationManager

Removes deprecated `summaryArgument` and `summaryArgumentCount` from notification content.
This commit is contained in:
Stuart Breckenridge
2022-01-21 08:53:06 +08:00
parent 38217e43e4
commit 04f771975c

View File

@@ -53,8 +53,6 @@ private extension UserNotificationManager {
}
content.body = ArticleStringFormatter.truncatedSummary(article)
content.threadIdentifier = webFeed.webFeedID
content.summaryArgument = "\(webFeed.nameForDisplay)"
content.summaryArgumentCount = 1
content.sound = UNNotificationSound.default
content.userInfo = [UserInfoKey.articlePath: article.pathUserInfo]
content.categoryIdentifier = "NEW_ARTICLE_NOTIFICATION_CATEGORY"