diff options
Diffstat (limited to 'Xamarin.Forms.Platform.Android')
-rw-r--r-- | Xamarin.Forms.Platform.Android/Platform.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Xamarin.Forms.Platform.Android/Platform.cs b/Xamarin.Forms.Platform.Android/Platform.cs index 5ac1e451..449a5266 100644 --- a/Xamarin.Forms.Platform.Android/Platform.cs +++ b/Xamarin.Forms.Platform.Android/Platform.cs @@ -1020,7 +1020,7 @@ namespace Xamarin.Forms.Platform.Android } foreach (IVisualElementRenderer view in _navModel.Roots.Select(GetRenderer)) - view.UpdateLayout(); + view?.UpdateLayout(); } SizeRequest IPlatform.GetNativeSize(VisualElement view, double widthConstraint, double heightConstraint) @@ -1069,4 +1069,4 @@ namespace Xamarin.Forms.Platform.Android #endregion } -}
\ No newline at end of file +} |