Skip to content

Commit

Permalink
Remove XCode 9 warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Loflin - Vendor authored and michaeltyson committed Nov 8, 2017
1 parent 8738417 commit e42303d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ -(CGFloat)TPKeyboardAvoiding_idealOffsetForView:(UIView *)view withViewingAreaHe
contentInset = self.contentInset;
#endif

void(^centerViewInViewableArea)() = ^ {
void(^centerViewInViewableArea)(void) = ^ {
// Attempt to center the subview in the visible space
padding = (viewAreaHeight - subviewRect.size.height) / 2;

Expand Down

0 comments on commit e42303d

Please sign in to comment.