File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Samples/Swift/DaysUntilBirthday/Shared/Services Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -38,9 +38,7 @@ final class GoogleSignInAuthenticator: ObservableObject {
3838 /// - returns: The signed in `GIDGoogleUser`.
3939 /// - throws: Any error that may arise during the sign in process.
4040 func signIn( with rootViewController: UIViewController ) async throws -> GIDGoogleUser {
41- return try await GIDSignIn . sharedInstance. signIn (
42- presenting: rootViewController
43- )
41+ return try await GIDSignIn . sharedInstance. signIn ( withPresenting: rootViewController)
4442 }
4543 #endif
4644
@@ -50,9 +48,7 @@ final class GoogleSignInAuthenticator: ObservableObject {
5048 /// - returns: The signed in `GIDGoogleUser`.
5149 /// - throws: Any error that may arise during the sign in process.
5250 func signIn( with window: NSWindow ) async throws -> GIDGoogleUser {
53- return try await GIDSignIn . sharedInstance. signIn (
54- presenting: window
55- )
51+ return try await GIDSignIn . sharedInstance. signIn ( withPresenting: window)
5652 }
5753 #endif
5854
You can’t perform that action at this time.
0 commit comments