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,8 +69,10 @@ class OnboardingViewController: UIViewController {
}
}
}
self.authenticationSession!.presentationContextProvider = self
self.authenticationSession!.start()
DispatchQueue.main.async {
self.authenticationSession!.presentationContextProvider = self
self.authenticationSession!.start()
}
}
}