diff --git a/src/Maui/Prism.Maui/Extensions/VisualElementExtensions.cs b/src/Maui/Prism.Maui/Extensions/VisualElementExtensions.cs index fb14bfa7e5..599049579b 100644 --- a/src/Maui/Prism.Maui/Extensions/VisualElementExtensions.cs +++ b/src/Maui/Prism.Maui/Extensions/VisualElementExtensions.cs @@ -1,4 +1,4 @@ -namespace Prism.Extensions; +namespace Prism.Extensions; internal static class VisualElementExtensions { @@ -17,7 +17,7 @@ public static Element GetRoot(this Element element) }; } - public static Page GetParentPage(this Element visualElement) + internal static Page GetParentPage(this Element visualElement) { return visualElement.Parent switch {