From 4fd379fc2446932a435c9390127793615b323690 Mon Sep 17 00:00:00 2001 From: Scott Berrevoets Date: Tue, 31 Mar 2015 10:19:45 -0700 Subject: [PATCH] Remove extraneous ) --- SDCAlertView/Source/SDCAlertView.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SDCAlertView/Source/SDCAlertView.m b/SDCAlertView/Source/SDCAlertView.m index d36b0da0..fb2ae66f 100644 --- a/SDCAlertView/Source/SDCAlertView.m +++ b/SDCAlertView/Source/SDCAlertView.m @@ -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]); }