File tree Expand file tree Collapse file tree
FirebaseSwiftUI/FirebaseGoogleSwiftUI/Sources/Services Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ let kGoogleUserInfoProfileScope = "https://www.googleapis.com/auth/userinfo.prof
77let kDefaultScopes = [ kGoogleUserInfoEmailScope, kGoogleUserInfoProfileScope]
88
99public enum GoogleProviderError : Error {
10- case rootViewController ( String )
10+ case rootViewControllerNotFound ( String )
1111 case authenticationToken( String )
1212 case user( String )
1313}
@@ -28,7 +28,7 @@ public class GoogleProviderSwift: @preconcurrency GoogleProviderProtocol {
2828 guard let presentingViewController = await ( UIApplication . shared. connectedScenes
2929 . first as? UIWindowScene ) ? . windows. first? . rootViewController else {
3030 throw GoogleProviderError
31- . rootViewController ( " Root View controller is not available to present Google sign-in View. " )
31+ . rootViewControllerNotFound ( " Root View controller is not available to present Google sign-in View. " )
3232 }
3333
3434 let config = GIDConfiguration ( clientID: clientID)
You can’t perform that action at this time.
0 commit comments