summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.MacOS/FormsApplicationDelegate.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.MacOS/FormsApplicationDelegate.cs')
-rw-r--r--Xamarin.Forms.Platform.MacOS/FormsApplicationDelegate.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.MacOS/FormsApplicationDelegate.cs b/Xamarin.Forms.Platform.MacOS/FormsApplicationDelegate.cs
index 4899698..8411fde 100644
--- a/Xamarin.Forms.Platform.MacOS/FormsApplicationDelegate.cs
+++ b/Xamarin.Forms.Platform.MacOS/FormsApplicationDelegate.cs
@@ -24,7 +24,7 @@ namespace Xamarin.Forms.Platform.MacOS
if (application == null)
throw new ArgumentNullException(nameof(application));
- Application.Current = application;
+ Application.SetCurrentApplication(application);
_application = application;
application.PropertyChanged += ApplicationOnPropertyChanged;