Prechádzať zdrojové kódy

don't use DcContext.shared in NotificationManger

cyberta 4 rokov pred
rodič
commit
af72328503

+ 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)")
                 }
             }
         }