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.WP8/WP8PlatformServices.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Xamarin.Forms.Platform.WP8/WP8PlatformServices.cs') diff --git a/Xamarin.Forms.Platform.WP8/WP8PlatformServices.cs b/Xamarin.Forms.Platform.WP8/WP8PlatformServices.cs index cd9f44f9..66126631 100644 --- a/Xamarin.Forms.Platform.WP8/WP8PlatformServices.cs +++ b/Xamarin.Forms.Platform.WP8/WP8PlatformServices.cs @@ -113,6 +113,8 @@ namespace Xamarin.Forms get { return !Deployment.Current.Dispatcher.CheckAccess(); } } + public string RuntimePlatform => Device.WinPhone; + public void OpenUriAction(Uri uri) { Launcher.LaunchUriAsync(uri).WatchForError(); -- cgit v1.2.3