File tree Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -178,8 +178,9 @@ - (void)reauthenticateWithProvider:(NSString *)providerID
178178 }
179179 return ;
180180 }
181- [self .delegate.auth.currentUser reauthenticateWithCredential: credential
182- completion: ^(NSError *_Nullable reauthError) {
181+ [self .delegate.auth.currentUser
182+ reauthenticateAndRetrieveDataWithCredential: credential
183+ completion: ^(NSError *_Nullable reauthError) {
183184 [self .delegate decrementActivity ];
184185 if (result) {
185186 result (self.delegate .auth .currentUser , reauthError);
Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ - (void)signInWithProviderUI:(id<FUIAuthProvider>)providerUI
215215 the sign-in attempt.
216216 @param newCredential The credential used in the lastest sign-in attempt.
217217 @param presentingViewController The view controller used to present the UI.
218- @param signInResult block which takes the result of this method as a parameter; a nullable
218+ @param result block which takes the result of this method as a parameter; a nullable
219219 AuthResult indicating success or a nullable Error indicating failure.
220220 */
221221- (void )handleAccountLinkingForEmail : (NSString *)email
Original file line number Diff line number Diff line change @@ -323,7 +323,7 @@ - (void)incrementActivity {
323323 dispatch_after (dispatch_time (DISPATCH_TIME_NOW,
324324 (int64_t )(kActivityIndiactorAnimationDelay * NSEC_PER_SEC)),
325325 dispatch_get_main_queue (), ^{
326- [self ->_activityIndicator.superview bringSubviewToFront: _activityIndicator];
326+ [self ->_activityIndicator.superview bringSubviewToFront: self -> _activityIndicator];
327327 if (self->_activityCount > 0 ) {
328328 [self ->_activityIndicator startAnimating ];
329329 }
Original file line number Diff line number Diff line change @@ -180,10 +180,10 @@ - (void)signUpWithEmail:(NSString *)email
180180
181181 [self incrementActivity ];
182182
183- [self .auth createUserAndRetrieveDataWithEmail : email
184- password: password
185- completion: ^(FIRAuthDataResult *_Nullable authDataResult,
186- NSError *_Nullable error) {
183+ [self .auth createUserWithEmail : email
184+ password: password
185+ completion: ^(FIRAuthDataResult *_Nullable authDataResult,
186+ NSError *_Nullable error) {
187187 if (error) {
188188 [self decrementActivity ];
189189
You can’t perform that action at this time.
0 commit comments