Skip to content

Commit

Permalink
Remove extraneous )
Browse files Browse the repository at this point in the history
  • Loading branch information
sberrevoets committed Mar 31, 2015
1 parent 8981b44 commit 4fd379f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SDCAlertView/Source/SDCAlertView.m
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ + (instancetype)alertViewWithAlertController:(SDCAlertController *)alertControll
alert.alwaysShowsButtonsVertically = (alertController.actionLayout == SDCAlertControllerActionLayoutVertical);

alert.shouldDismissHandler = ^BOOL(NSInteger buttonIndex) {
if (buttonIndex < alertController.actions.count && alertController.shouldDismissBlock)) {
if (buttonIndex < alertController.actions.count && alertController.shouldDismissBlock) {
return alertController.shouldDismissBlock(alertController.actions[buttonIndex]);
}

Expand Down

0 comments on commit 4fd379f

Please sign in to comment.