Skip to content

Commit

Permalink
Uncrustify in your face
Browse files Browse the repository at this point in the history
  • Loading branch information
ipodishima committed May 24, 2013
1 parent 030dd90 commit 84beaef
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions PPTopMostController/PPTopMostController/MainViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ - (void)dismiss {
[self dismissModalViewControllerAnimated:YES];
}

- (void) showRight
{
- (void)showRight {
[self.revealSideViewController pushOldViewControllerOnDirection:PPRevealSideDirectionRight animated:YES];
}

Expand Down
2 changes: 1 addition & 1 deletion PPTopMostController/PPTopMostController/NotificationView.m
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ - (void)_addToCurrentController {

- (CGFloat)_getFinalOrigin {
UIViewController *c = [UIViewController topMostController];
CGFloat finalOrigin = c.navigationController ? 44.0 /*Toolbar height*/ + (c.revealSideViewController ? 0.0/* "bug" with full screen status bar and PPReveal*/ : 20.0) /*Status bar height*/ : 0.0;
CGFloat finalOrigin = c.navigationController ? 44.0 /*Toolbar height*/ + (c.revealSideViewController ? 0.0 /* "bug" with full screen status bar and PPReveal*/ : 20.0) /*Status bar height*/ : 0.0;
return finalOrigin;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@

@implementation PPRevealSideViewController (PPTopMostController)

- (UIViewController *)visibleViewController
{
- (UIViewController *)visibleViewController {
return self.rootViewController;
}

Expand Down

0 comments on commit 84beaef

Please sign in to comment.