Browse Source

re-add logger message when reachable

B. Petersen 5 years ago
parent
commit
31a131513c
1 changed files with 2 additions and 0 deletions
  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.