Explorar o código

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

set translations before starting I/O
cyBerta %!s(int64=3) %!d(string=hai) anos
pai
achega
06fb851d2f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;