소스 검색

don't use DcContext.shared in NotificationManger

cyberta 4 년 전
부모
커밋
af72328503
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      deltachat-ios/Helper/NotificationManager.swift

+ 1 - 1
deltachat-ios/Helper/NotificationManager.swift

@@ -86,7 +86,7 @@ public class NotificationManager {
                                                         content: content,
                                                         trigger: trigger)
                     UNUserNotificationCenter.current().add(request, withCompletionHandler: nil)
-                    DcContext.shared.logger?.info("notifications: added \(content.title) \(content.body) \(content.userInfo)")
+                    logger.info("notifications: added \(content.title) \(content.body) \(content.userInfo)")
                 }
             }
         }