File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -399,7 +399,7 @@ - (void)signInWithEmailHint:(NSString *)emailHint
399399 if (![emailHint isEqualToString: authResult.user.email]) {
400400 NSString *signedInEmail = authResult.user .email ;
401401 NSString *title =
402- [NSString stringWithFormat: @" Continue sign in with %@ " , signedInEmail];
402+ [NSString stringWithFormat: @" Continue sign in with %@ ? " , signedInEmail];
403403 NSString *message =
404404 [NSString stringWithFormat: @" You originally wanted to sign in with %@ " ,
405405 emailHint];
@@ -408,10 +408,14 @@ - (void)signInWithEmailHint:(NSString *)emailHint
408408 actionTitle: @" Continue"
409409 presentingViewController: presentingViewController
410410 actionHandler: ^{
411- completion (authResult, nil , credential);
411+ if (completion) {
412+ completion (authResult, nil , credential);
413+ }
412414 }
413415 cancelHandler: ^{
414- completion (nil , error, credential);
416+ if (completion) {
417+ completion (nil , error, credential);
418+ }
415419 }];
416420 }
417421 }];
You can’t perform that action at this time.
0 commit comments