We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53e9bd9 commit f13a729Copy full SHA for f13a729
1 file changed
DevLog/Infra/Service/SocialLogin/GoogleAuthenticationService.swift
@@ -82,11 +82,9 @@ final class GoogleAuthenticationService: AuthenticationService {
82
try await GIDSignIn.sharedInstance.disconnect()
83
}
84
85
+ @MainActor
86
func link(uid: String, email: String) async throws {
- let topViewController = await MainActor.run {
87
- provider.topViewController()
88
- }
89
- guard let topViewController = topViewController else {
+ guard let topViewController = provider.topViewController() else {
90
throw UIError.notFoundTopViewController
91
92
0 commit comments