[AltStore] Adds LaunchViewController to async load database before UI appears

This commit is contained in:
Riley Testut
2019-07-30 16:54:44 -07:00
parent 8aa2f26e47
commit 75e398822f
4 changed files with 74 additions and 16 deletions

View File

@@ -53,21 +53,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
ServerManager.shared.startDiscovering()
DatabaseManager.shared.start { (error) in
if let error = error
{
print("Failed to start DatabaseManager.", error)
}
else
{
print("Started DatabaseManager")
DispatchQueue.main.async {
AppManager.shared.update()
}
}
}
if UserDefaults.standard.firstLaunch == nil
{
Keychain.shared.reset()