summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.WinRT/WindowsBasePage.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.WinRT/WindowsBasePage.cs')
-rw-r--r--Xamarin.Forms.Platform.WinRT/WindowsBasePage.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.WinRT/WindowsBasePage.cs b/Xamarin.Forms.Platform.WinRT/WindowsBasePage.cs
index e1700a8..c8b3bda 100644
--- a/Xamarin.Forms.Platform.WinRT/WindowsBasePage.cs
+++ b/Xamarin.Forms.Platform.WinRT/WindowsBasePage.cs
@@ -30,7 +30,7 @@ namespace Xamarin.Forms.Platform.WinRT
if (application == null)
throw new ArgumentNullException("application");
- Application.Current = application;
+ Application.SetCurrentApplication(application);
Platform = CreatePlatform();
Platform.SetPage(Application.Current.MainPage);
application.PropertyChanged += OnApplicationPropertyChanged;