diff options
Diffstat (limited to 'Xamarin.Forms.Platform.Android/AppCompat/Platform.cs')
-rw-r--r-- | Xamarin.Forms.Platform.Android/AppCompat/Platform.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.Android/AppCompat/Platform.cs b/Xamarin.Forms.Platform.Android/AppCompat/Platform.cs index 0bad79b1..f656ff84 100644 --- a/Xamarin.Forms.Platform.Android/AppCompat/Platform.cs +++ b/Xamarin.Forms.Platform.Android/AppCompat/Platform.cs @@ -238,7 +238,7 @@ namespace Xamarin.Forms.Platform.Android.AppCompat Page.Platform = this; AddChild(Page, layout); - ((Application)Page.RealParent).NavigationProxy.Inner = this; + Application.Current.NavigationProxy.Inner = this; } void AddChild(Page page, bool layout = false) |