File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -212,8 +212,15 @@ - (void)signInWithProviderUI:(id<FUIAuthProvider>)providerUI
212
212
mergeError = [NSError errorWithDomain: FUIAuthErrorDomain
213
213
code: FUIAuthErrorCodeMergeConflict
214
214
userInfo: userInfo];
215
- result (nil , mergeError);
216
- completeSignInBlock (authResult, mergeError);
215
+ result (nil , error);
216
+ completeSignInBlock (authResult, error);
217
+ } else {
218
+ if (!isAuthPickerShown || error.code != FUIAuthErrorCodeUserCancelledSignIn) {
219
+ [self invokeResultCallbackWithAuthDataResult: nil error: error];
220
+ }
221
+ if (result) {
222
+ result (nil , error);
223
+ }
217
224
}
218
225
}
219
226
}];
@@ -229,7 +236,6 @@ - (void)signInWithProviderUI:(id<FUIAuthProvider>)providerUI
229
236
singInResult: result];
230
237
return ;
231
238
}
232
-
233
239
if (error) {
234
240
if (result) {
235
241
result (nil , error);
You can’t perform that action at this time.
0 commit comments