summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.MacOS/Platform.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.MacOS/Platform.cs')
-rw-r--r--Xamarin.Forms.Platform.MacOS/Platform.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.MacOS/Platform.cs b/Xamarin.Forms.Platform.MacOS/Platform.cs
index 8629684..74c1e0e 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;
}