diff --git a/iOS/AppDelegate.swift b/iOS/AppDelegate.swift index 70b9b4b69..1d7b7ea92 100644 --- a/iOS/AppDelegate.swift +++ b/iOS/AppDelegate.swift @@ -48,7 +48,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD didSet { if unreadCount != oldValue { postUnreadCountDidChangeNotification() - UIApplication.shared.applicationIconBadgeNumber = unreadCount + UNUserNotificationCenter.current().setBadgeCount(unreadCount) } } }