From e6d5186c8acbf37b877c7ca3c77a378352a3743d Mon Sep 17 00:00:00 2001 From: kingces95 Date: Tue, 7 Mar 2017 14:56:24 -0500 Subject: Remove InternalsVisibleTo from Core to XF.Platforms.* (#782) * Remove InternalsVisibleTo from Core to XF.Platforms.* * Changes per Jason's code review * Move LockableObservableListWrapper to internals namespace * Changes per Stephane's code review * update docs * Touch code to get CI to run tests * Rebase; Update documentation --- Xamarin.Forms.Platform.WP8/Forms.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Xamarin.Forms.Platform.WP8/Forms.cs') diff --git a/Xamarin.Forms.Platform.WP8/Forms.cs b/Xamarin.Forms.Platform.WP8/Forms.cs index d2a40d12..241b5004 100644 --- a/Xamarin.Forms.Platform.WP8/Forms.cs +++ b/Xamarin.Forms.Platform.WP8/Forms.cs @@ -46,7 +46,7 @@ namespace Xamarin.Forms var accent = System.Windows.Application.Current.Resources["PhoneAccentBrush"] as SolidColorBrush; System.Windows.Media.Color color = accent.Color; - Color.Accent = Color.FromRgba(color.R, color.G, color.B, color.A); + Color.SetAccent(Color.FromRgba(color.R, color.G, color.B, color.A)); Log.Listeners.Add(new DelegateLogListener((c, m) => Console.WriteLine("[{0}] {1}", m, c))); @@ -55,9 +55,9 @@ namespace Xamarin.Forms Registrar.RegisterAll(new[] { typeof(ExportRendererAttribute), typeof(ExportCellAttribute), typeof(ExportImageSourceHandlerAttribute) }); - Ticker.Default = new WinPhoneTicker(); + Ticker.SetDefault(new WinPhoneTicker()); - Device.Idiom = TargetIdiom.Phone; + Device.SetIdiom(TargetIdiom.Phone); ExpressionSearch.Default = new WinPhoneExpressionSearch(); -- cgit v1.2.3