Skip to content

Commit

Permalink
Fix build warning
Browse files Browse the repository at this point in the history
  • Loading branch information
rivera-ernesto committed Jun 9, 2017
1 parent 7826a6c commit 4643741
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Source/PTEDashboard.m
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,6 @@ - (void)handleStatusBarOrientationChange:(NSNotification *)notification
CGAffineTransform transform;
switch (nextOrientation)
{
case UIInterfaceOrientationPortrait:
frame.origin = CGPointZero;
transform = CGAffineTransformIdentity;
break;
case UIInterfaceOrientationLandscapeLeft:
frame.origin = CGPointMake(0.0, _screenSize.height);
transform = CGAffineTransformMakeRotation(- M_PI / 2.0);
Expand All @@ -134,6 +130,8 @@ - (void)handleStatusBarOrientationChange:(NSNotification *)notification
transform = CGAffineTransformMakeRotation(M_PI);
break;
default:
frame.origin = CGPointZero;
transform = CGAffineTransformIdentity;
break;
}

Expand Down

0 comments on commit 4643741

Please sign in to comment.