File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
FirebaseAuth/Sources/Swift/Backend Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -76,21 +76,16 @@ class AuthBackend {
7676 return " FirebaseAuth.iOS/ \( FirebaseVersion ( ) ) \( GTMFetcherStandardUserAgentString ( nil ) ) "
7777 }
7878
79- private static var gBackendImplementation : AuthBackendImplementation ?
79+ private static var gBackendImplementation = AuthBackendRPCImplementation ( )
8080
8181 class func setDefaultBackendImplementationWithRPCIssuer( issuer: AuthBackendRPCIssuer ? ) {
82- let defaultImplementation = AuthBackendRPCImplementation ( )
8382 if let issuer = issuer {
84- defaultImplementation . rpcIssuer = issuer
83+ gBackendImplementation . rpcIssuer = issuer
8584 }
86- gBackendImplementation = defaultImplementation
8785 }
8886
8987 class func implementation( ) -> AuthBackendImplementation {
90- if gBackendImplementation == nil {
91- gBackendImplementation = AuthBackendRPCImplementation ( )
92- }
93- return gBackendImplementation!
88+ return gBackendImplementation
9489 }
9590
9691 class func call< T: AuthRPCRequest > ( with request: T ) async throws -> T . Response {
You can’t perform that action at this time.
0 commit comments