Przeglądaj źródła

don't use DcContext.shared in NotificationManger

cyberta 4 lat temu
rodzic
commit
af72328503
1 zmienionych plików z 1 dodań i 1 usunięć
  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)")
                 }
             }
         }