瀏覽代碼

re-add logger message when reachable

B. Petersen 5 年之前
父節點
當前提交
31a131513c
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      deltachat-ios/AppDelegate.swift

+ 2 - 0
deltachat-ios/AppDelegate.swift

@@ -51,6 +51,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
         setStockTranslations()
 
         reachability.whenReachable = { reachability in
+            logger.info("network: reachable", reachability.connection.description)
+
             // call dc_maybe_network() from a worker thread.
             // normally, dc_maybe_network() can be called uncoditionally,
             // however, in fact, it may halt things for some seconds.