diff --git a/lib/kernel.rb b/lib/kernel.rb index 79486c7f..5bc3191e 100644 --- a/lib/kernel.rb +++ b/lib/kernel.rb @@ -26,7 +26,7 @@ def orientation case UIDevice.currentDevice.orientation when UIDeviceOrientationUnknown then :unknown when UIDeviceOrientationPortrait then :portrait - when UIDeviceOrientationPortraitUpsideDown then :upside_down_portrait + when UIDeviceOrientationPortraitUpsideDown then :portrait_upside_down when UIDeviceOrientationLandscapeLeft then :landscape_left when UIDeviceOrientationLandscapeRight then :landscape_right when UIDeviceOrientationFaceUp then :face_up