From b7e95543f48c2c1aa520cf87bfdb081817705e26 Mon Sep 17 00:00:00 2001 From: pedrojesus Date: Fri, 8 Sep 2023 09:30:29 -0300 Subject: [PATCH] reverted change add in #1343 --- src/CommunityToolkit.Maui/Views/Popup/PopupExtensions.shared.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/CommunityToolkit.Maui/Views/Popup/PopupExtensions.shared.cs b/src/CommunityToolkit.Maui/Views/Popup/PopupExtensions.shared.cs index 98ec42db3..8e9ad95fa 100644 --- a/src/CommunityToolkit.Maui/Views/Popup/PopupExtensions.shared.cs +++ b/src/CommunityToolkit.Maui/Views/Popup/PopupExtensions.shared.cs @@ -52,8 +52,6 @@ void handler(object? sender, EventArgs args) /// public static Task ShowPopupAsync(this Page page, TPopup popup) where TPopup : Popup { - page = PageExtensions.GetCurrentPage(page); - if (page.IsPlatformEnabled) { return CreateAndShowPopupAsync(page, popup);