From a33db2f73074296a7a47d2a4359b5ce12121c071 Mon Sep 17 00:00:00 2001 From: niimima Date: Mon, 29 Jul 2024 16:50:15 +0900 Subject: [PATCH] Revert "Modify GetParentPage access modifier" This reverts commit 5af4754cb667df8a3f5d699939fb2bc64a86fa3d. --- src/Maui/Prism.Maui/Extensions/VisualElementExtensions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {