From b6cb64e4930de9b16309f2d30c6bb0a2177048fd Mon Sep 17 00:00:00 2001 From: Stephane Delcroix Date: Thu, 12 Jan 2017 21:05:41 +0100 Subject: [C] new OnPlatform mechanism (#658) * [C] Obsolete TargetPlatform * [Xaml] support and test the new syntax * blind fix windows platforms --- Xamarin.Forms.Platform.WinRT.Phone/Forms.cs | 1 - 1 file changed, 1 deletion(-) (limited to 'Xamarin.Forms.Platform.WinRT.Phone/Forms.cs') diff --git a/Xamarin.Forms.Platform.WinRT.Phone/Forms.cs b/Xamarin.Forms.Platform.WinRT.Phone/Forms.cs index 62b4624c..bc91936a 100644 --- a/Xamarin.Forms.Platform.WinRT.Phone/Forms.cs +++ b/Xamarin.Forms.Platform.WinRT.Phone/Forms.cs @@ -25,7 +25,6 @@ namespace Xamarin.Forms Windows.UI.Xaml.Application.Current.Resources.MergedDictionaries.Add (GetPhoneResources()); - Device.OS = TargetPlatform.Windows; Device.PlatformServices = new WindowsPhonePlatformServices (Window.Current.Dispatcher); Device.Info = new WindowsDeviceInfo(); Device.Idiom = TargetIdiom.Phone; -- cgit v1.2.3