summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.WP8/Forms.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.WP8/Forms.cs')
-rw-r--r--Xamarin.Forms.Platform.WP8/Forms.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Xamarin.Forms.Platform.WP8/Forms.cs b/Xamarin.Forms.Platform.WP8/Forms.cs
index d2a40d1..241b500 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();