@@ -79,11 +79,11 @@ - (FUIASAccountState)accountState {
7979
8080 for (id <FIRUserInfo> userInfo in providers) {
8181 if (userInfo.email .length > 0 &&
82- ![userInfo.providerID isEqualToString: @" email " ]) {
82+ ![userInfo.providerID isEqualToString: @" password " ]) {
8383 hasEmailInLinkedProvider = YES ;
8484 }
8585
86- if ([userInfo.providerID isEqualToString: @" email " ]) {
86+ if ([userInfo.providerID isEqualToString: @" password " ]) {
8787 hasPasswordProvider = YES ;
8888 }
8989 }
@@ -225,7 +225,7 @@ - (void)updateTableStateLinkedAccountWithoutEmail {
225225 NSMutableArray *linkedAccounts =
226226 [[NSMutableArray alloc ] initWithCapacity: self .auth.currentUser.providerData.count];
227227 for (id <FIRUserInfo> userInfo in self.auth .currentUser .providerData ) {
228- if ([userInfo.providerID isEqualToString: @" email " ]) {
228+ if ([userInfo.providerID isEqualToString: @" password " ]) {
229229 continue ;
230230 }
231231 FUIStaticContentTableViewCell *cell =
@@ -262,7 +262,7 @@ - (void)updateTableStateLinkedAccountWithEmail {
262262 NSMutableArray *linkedAccounts =
263263 [[NSMutableArray alloc ] initWithCapacity: self .auth.currentUser.providerData.count];
264264 for (id <FIRUserInfo> userInfo in self.auth .currentUser .providerData ) {
265- if ([userInfo.providerID isEqualToString: @" email " ]) {
265+ if ([userInfo.providerID isEqualToString: @" password " ]) {
266266 continue ;
267267 }
268268 FUIStaticContentTableViewCell *cell =
@@ -309,7 +309,7 @@ - (void)updateTableStateLinkedAccountWithEmailPassword {
309309 NSMutableArray *linkedAccounts =
310310 [[NSMutableArray alloc ] initWithCapacity: self .auth.currentUser.providerData.count];
311311 for (id <FIRUserInfo> userInfo in self.auth .currentUser .providerData ) {
312- if ([userInfo.providerID isEqualToString: @" email " ]) {
312+ if ([userInfo.providerID isEqualToString: @" password " ]) {
313313 continue ;
314314 }
315315 FUIStaticContentTableViewCell *cell =
0 commit comments