Explorar o código

remove redundant code

cyberta %!s(int64=4) %!d(string=hai) anos
pai
achega
9f4e5b70d6
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      deltachat-ios/Helper/NotificationManager.swift

+ 0 - 2
deltachat-ios/Helper/NotificationManager.swift

@@ -41,8 +41,6 @@ public class NotificationManager {
                         return
                     }
 
-                    let array = DcContext.shared.getFreshMessages()
-                    UIApplication.shared.applicationIconBadgeNumber = array.count
                     NotificationManager.updateApplicationIconBadge(reset: false)
 
                     let chat = DcContext.shared.getChat(chatId: chatId)