From 82a8a8689c1209c9ecf9d0a1f3c3d8c13627f34b Mon Sep 17 00:00:00 2001 From: Danmei Chen Date: Fri, 26 Jun 2020 14:51:35 +0200 Subject: [PATCH] fix badge app icons --- msgNotificationService/NotificationService.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msgNotificationService/NotificationService.swift b/msgNotificationService/NotificationService.swift index b52a3761c..8f481bbf7 100644 --- a/msgNotificationService/NotificationService.swift +++ b/msgNotificationService/NotificationService.swift @@ -89,7 +89,7 @@ class NotificationService: UNNotificationServiceExtension { if let message = message { let msgData = parseMessage(message: message) - if !message.isUsingUserDefaults, let badge = updateBadge() as NSNumber? { + if let badge = updateBadge() as NSNumber? { bestAttemptContent.badge = badge }