소스 검색

remove redundant code

cyberta 4 년 전
부모
커밋
9f4e5b70d6
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  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)