UIViewController *const modalToDismiss = ^UIViewController *{
switch (container.presentationStyle) {
case MQCardOnFileLinkingFlowViewPresentationStyleModal:
return self.currentModalViewController;
case MQCardOnFileLinkingFlowViewPresentationStyleFullScreen:
return (self.currentModalViewController != self.fullScreenNavigationController) ? self.fullScreenNavigationController : nil;
}
}();
UIViewController *const modalToDismiss = ^UIViewController *
{
switch (container.presentationStyle) {
case MQCardOnFileLinkingFlowViewPresentationStyleModal:
return self.currentModalViewController;
case MQCardOnFileLinkingFlowViewPresentationStyleFullScreen:
return (self.currentModalViewController != self.fullScreenNavigationController) ? self.fullScreenNavigationController : nil;
}
}
();
becomes