Skip to content

Commit e4e9335

Browse files
authored
UnlinkFromFacebook and UnlinkFromEmailPassword both accidentally call to unlink from Google (#1883)
1 parent ae6c857 commit e4e9335

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Example/Auth/Sample/MainViewController.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -861,11 +861,11 @@ - (void)updateTable {
861861
}],
862862
[StaticContentTableViewCell cellWithTitle:kUnlinkFromFacebook
863863
action:^{
864-
[weakSelf unlinkFromProvider:FIRGoogleAuthProviderID completion:nil];
864+
[weakSelf unlinkFromProvider:FIRFacebookAuthProviderID completion:nil];
865865
}],
866866
[StaticContentTableViewCell cellWithTitle:kUnlinkFromEmailPassword
867867
action:^{
868-
[weakSelf unlinkFromProvider:FIRGoogleAuthProviderID completion:nil];
868+
[weakSelf unlinkFromProvider:FIREmailAuthProviderID completion:nil];
869869
}]
870870
]],
871871
[StaticContentTableViewSection sectionWithTitle:kSectionTitleApp cells:@[

0 commit comments

Comments
 (0)