Commit 69f67bbb by Demid Merzlyakov

Minor edits.

parent 606f1463
......@@ -20,15 +20,14 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
ThemeManager.refreshAppearance()
self.window = UIWindow(frame: UIScreen.main.bounds)
let appCoordinator = AppCoordinator(window: self.window!)
appCoordinator.start()
ThemeManager.setBaseTheme()
CCPAHelper.shared.onAppLaunch()
FirebaseApp.configure()
ConfigManager.shared.updateConfig()
let appCoordinator = AppCoordinator(window: self.window!)
appCoordinator.start()
ThemeManager.setBaseTheme()
let appVersion = Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString") as? String
var flurrySession = FlurrySessionBuilder()
......
......@@ -63,7 +63,7 @@ public class CoreDataStorage: Storage {
self?.log.error("Load: error.")
}
else {
self?.log.info("Load: success. \(String(describing: locations?.count)) locations, selected: \(String(describing: selectedIndex))")
self?.log.info("Load: success. \(locations?.count ?? 0) locations, selected: \( selectedIndex ?? -1)")
}
completion(locations, selectedIndex, error)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment