Ver Fonte

Minor improvements.

pinlu há 3 anos atrás
pai
commit
9c6d80d2ce

+ 0 - 1
GoogleSignIn/Sources/GIDKeychainHandler/Implementations/GIDKeychainHandler.m

@@ -14,7 +14,6 @@ NS_ASSUME_NONNULL_BEGIN
 
 @implementation GIDKeychainHandler
 
-
 - (OIDAuthState *)loadAuthState {
   GTMAppAuthFetcherAuthorization *authorization =
       [GTMAppAuthFetcherAuthorization authorizationFromKeychainForName:kGTMAppAuthKeychainName

+ 1 - 1
GoogleSignIn/Sources/GIDSignIn.m

@@ -777,7 +777,7 @@ static NSString *const kConfigOpenIDRealmKey = @"GIDOpenIDRealm";
     GIDAuthFlow *handlerAuthFlow = weakAuthFlow;
     OIDAuthState *authState = handlerAuthFlow.authState;
     if (authState && !handlerAuthFlow.error) {
-      if (![_keychainHandler saveAuthState:authState]) {
+      if (![self->_keychainHandler saveAuthState:authState]) {
         handlerAuthFlow.error = [self errorWithString:kKeychainError
                                                  code:kGIDSignInErrorCodeKeychain];
         return;