File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -347,7 +347,7 @@ - (void)completeSignInWithResult:(nullable FIRAuthDataResult *)authResult
347347 BOOL isAuthPickerShown =
348348 [presentingViewController isKindOfClass: [FUIAuthPickerViewController class ]];
349349 if (callback) {
350- callback (authResult.user , nil );
350+ callback (authResult.user , error );
351351 }
352352 // Hide Auth Picker Controller which was presented modally.
353353 if (isAuthPickerShown && presentingViewController.presentingViewController ) {
@@ -624,11 +624,11 @@ - (void)handleAccountLinkingForEmail:(NSString *)email
624624- (void )invokeResultCallbackWithAuthDataResult : (nullable FIRAuthDataResult *)authDataResult
625625 error : (nullable NSError *)error {
626626 dispatch_async (dispatch_get_main_queue (), ^{
627- #pragma clang diagnostic push
628- #pragma clang diagnostic ignored "-Wdeprecated-declarations"
629627 if ([self .delegate respondsToSelector: @selector (authUI:didSignInWithAuthDataResult:error: )]) {
630628 [self .delegate authUI: self didSignInWithAuthDataResult: authDataResult error: error];
631629 }
630+ #pragma clang diagnostic push
631+ #pragma clang diagnostic ignored "-Wdeprecated-declarations"
632632 if ([self .delegate respondsToSelector: @selector (authUI:didSignInWithUser:error: )]) {
633633 [self .delegate authUI: self didSignInWithUser: authDataResult.user error: error];
634634 }
You can’t perform that action at this time.
0 commit comments