mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-15 17:53:31 +01:00
[AltStore] Adds LaunchViewController to async load database before UI appears
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user