Skip to content

Commit

Permalink
Prevent dismissWithSuccess:animated from being called twice
Browse files Browse the repository at this point in the history
Summary:
see https://github.com/facebook/facebook-ios-sdk/issues#issue/161

Test Plan:
verified it was called only once

DiffCamp Revision: 186903
Reviewed By: brent
CC: brent
Revert Plan:
OK
  • Loading branch information
Yariv Sadan authored and Yariv Sadan committed Nov 30, 2010
1 parent c2b16bb commit beca7ec
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/FBDialog.m
Expand Up @@ -287,7 +287,6 @@ - (void)dismiss:(BOOL)animated {

- (void)cancel {
[self dialogDidCancel:nil];
[self dismissWithSuccess:NO animated:YES];
}

///////////////////////////////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit beca7ec

Please sign in to comment.