Browse Source

Merge pull request #1569 from deltachat/set-transl-sooner

set translations before starting I/O
cyBerta 3 years ago
parent
commit
06fb851d2f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      deltachat-ios/AppDelegate.swift

+ 1 - 1
deltachat-ios/AppDelegate.swift

@@ -111,8 +111,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
         locationManager = LocationManager(dcAccounts: dcAccounts)
         UIApplication.shared.setMinimumBackgroundFetchInterval(UIApplication.backgroundFetchIntervalMinimum)
         notificationManager = NotificationManager(dcAccounts: dcAccounts)
-        dcAccounts.startIo()
         setStockTranslations()
+        dcAccounts.startIo()
 
         reachability.whenReachable = { reachability in
             // maybeNetwork() shall not be called in ui thread;