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