Skip to content

Commit d429c50

Browse files
committed
Remove the coalescing assignment that won't be invoked
1 parent da52c7f commit d429c50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CommunityToolkit.Maui/Views/Popup/PopupPage.shared.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public PopupPage(Popup popup, IPopupOptions popupOptions)
4949
}, () => popupOptions.CanBeDismissedByTappingOutsideOfPopup);
5050

5151
// Only set the content if the parent constructor hasn't set the content already; don't override content if it already exists
52-
base.Content ??= new PopupPageLayout(popup, popupOptions, tapOutsideOfPopupCommand);
52+
base.Content = new PopupPageLayout(popup, popupOptions, tapOutsideOfPopupCommand);
5353

5454
if (popupOptions is BindableObject bindablePopupOptions)
5555
{

0 commit comments

Comments
 (0)