diff options
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/FormsApplication.cs')
-rw-r--r-- | Xamarin.Forms.Platform.Tizen/FormsApplication.cs | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/FormsApplication.cs b/Xamarin.Forms.Platform.Tizen/FormsApplication.cs index 83efe7a2..e00c3908 100644 --- a/Xamarin.Forms.Platform.Tizen/FormsApplication.cs +++ b/Xamarin.Forms.Platform.Tizen/FormsApplication.cs @@ -1,6 +1,7 @@ using System; using System.ComponentModel; using System.Diagnostics; +using Xamarin.Forms.Internals; using Tizen.Applications; using ElmSharp; using EButton = ElmSharp.Button; @@ -306,23 +307,23 @@ namespace Xamarin.Forms.Platform.Tizen switch (_window.CurrentOrientation) { case Native.DisplayOrientations.None: - Device.Info.CurrentOrientation = DeviceOrientation.Other; + Device.Info.CurrentOrientation = Internals.DeviceOrientation.Other; break; case Native.DisplayOrientations.Portrait: - Device.Info.CurrentOrientation = DeviceOrientation.PortraitUp; + Device.Info.CurrentOrientation = Internals.DeviceOrientation.PortraitUp; break; case Native.DisplayOrientations.Landscape: - Device.Info.CurrentOrientation = DeviceOrientation.LandscapeLeft; + Device.Info.CurrentOrientation = Internals.DeviceOrientation.LandscapeLeft; break; case Native.DisplayOrientations.PortraitFlipped: - Device.Info.CurrentOrientation = DeviceOrientation.PortraitDown; + Device.Info.CurrentOrientation = Internals.DeviceOrientation.PortraitDown; break; case Native.DisplayOrientations.LandscapeFlipped: - Device.Info.CurrentOrientation = DeviceOrientation.LandscapeRight; + Device.Info.CurrentOrientation = Internals.DeviceOrientation.LandscapeRight; break; } }; |