diff --git a/Shared/UserNotifications/UserNotificationManager.swift b/Shared/UserNotifications/UserNotificationManager.swift index e41165405..35523f595 100644 --- a/Shared/UserNotifications/UserNotificationManager.swift +++ b/Shared/UserNotifications/UserNotificationManager.swift @@ -62,8 +62,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" diff --git a/iOS/AppDelegate.swift b/iOS/AppDelegate.swift index 657ba11b8..72426842a 100644 --- a/iOS/AppDelegate.swift +++ b/iOS/AppDelegate.swift @@ -50,7 +50,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD didSet { if unreadCount != oldValue { postUnreadCountDidChangeNotification() - UIApplication.shared.applicationIconBadgeNumber = unreadCount + UNUserNotificationCenter.current().setBadgeCount(unreadCount) } } }