@@ -79,11 +79,11 @@ - (FUIASAccountState)accountState {
79
79
80
80
for (id <FIRUserInfo> userInfo in providers) {
81
81
if (userInfo.email .length > 0 &&
82
- ![userInfo.providerID isEqualToString: @" email " ]) {
82
+ ![userInfo.providerID isEqualToString: @" password " ]) {
83
83
hasEmailInLinkedProvider = YES ;
84
84
}
85
85
86
- if ([userInfo.providerID isEqualToString: @" email " ]) {
86
+ if ([userInfo.providerID isEqualToString: @" password " ]) {
87
87
hasPasswordProvider = YES ;
88
88
}
89
89
}
@@ -225,7 +225,7 @@ - (void)updateTableStateLinkedAccountWithoutEmail {
225
225
NSMutableArray *linkedAccounts =
226
226
[[NSMutableArray alloc ] initWithCapacity: self .auth.currentUser.providerData.count];
227
227
for (id <FIRUserInfo> userInfo in self.auth .currentUser .providerData ) {
228
- if ([userInfo.providerID isEqualToString: @" email " ]) {
228
+ if ([userInfo.providerID isEqualToString: @" password " ]) {
229
229
continue ;
230
230
}
231
231
FUIStaticContentTableViewCell *cell =
@@ -262,7 +262,7 @@ - (void)updateTableStateLinkedAccountWithEmail {
262
262
NSMutableArray *linkedAccounts =
263
263
[[NSMutableArray alloc ] initWithCapacity: self .auth.currentUser.providerData.count];
264
264
for (id <FIRUserInfo> userInfo in self.auth .currentUser .providerData ) {
265
- if ([userInfo.providerID isEqualToString: @" email " ]) {
265
+ if ([userInfo.providerID isEqualToString: @" password " ]) {
266
266
continue ;
267
267
}
268
268
FUIStaticContentTableViewCell *cell =
@@ -309,7 +309,7 @@ - (void)updateTableStateLinkedAccountWithEmailPassword {
309
309
NSMutableArray *linkedAccounts =
310
310
[[NSMutableArray alloc ] initWithCapacity: self .auth.currentUser.providerData.count];
311
311
for (id <FIRUserInfo> userInfo in self.auth .currentUser .providerData ) {
312
- if ([userInfo.providerID isEqualToString: @" email " ]) {
312
+ if ([userInfo.providerID isEqualToString: @" password " ]) {
313
313
continue ;
314
314
}
315
315
FUIStaticContentTableViewCell *cell =
0 commit comments