diff options
Diffstat (limited to 'Xamarin.Forms.Platform.MacOS/Platform.cs')
-rw-r--r-- | Xamarin.Forms.Platform.MacOS/Platform.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.MacOS/Platform.cs b/Xamarin.Forms.Platform.MacOS/Platform.cs index 8629684b..74c1e0e9 100644 --- a/Xamarin.Forms.Platform.MacOS/Platform.cs +++ b/Xamarin.Forms.Platform.MacOS/Platform.cs @@ -2,6 +2,7 @@ using AppKit; using RectangleF = CoreGraphics.CGRect; using System.Linq; +using Xamarin.Forms.Internals; namespace Xamarin.Forms.Platform.MacOS { @@ -95,7 +96,7 @@ namespace Xamarin.Forms.Platform.MacOS public static IVisualElementRenderer CreateRenderer(VisualElement element) { var t = element.GetType(); - var renderer = Registrar.Registered.GetHandler<IVisualElementRenderer>(t) ?? new DefaultRenderer(); + var renderer = Internals.Registrar.Registered.GetHandler<IVisualElementRenderer>(t) ?? new DefaultRenderer(); renderer.SetElement(element); return renderer; } |