Fix main thread checker warning on login

This commit is contained in:
Shadowfacts 2019-07-27 18:31:55 -04:00
parent 8bdfa7f09f
commit e269e23527
Signed by: shadowfacts
GPG Key ID: 94A5AB95422746E5
1 changed files with 4 additions and 2 deletions

View File

@ -69,10 +69,12 @@ class OnboardingViewController: UIViewController {
}
}
}
DispatchQueue.main.async {
self.authenticationSession!.presentationContextProvider = self
self.authenticationSession!.start()
}
}
}
@IBAction func clearDataPressed(_ sender: Any) {
LocalData.shared.instanceURL = nil