diff --git a/samples/CommunityToolkit.Maui.Sample/MauiProgram.cs b/samples/CommunityToolkit.Maui.Sample/MauiProgram.cs index f0f048a0b..47b900b10 100644 --- a/samples/CommunityToolkit.Maui.Sample/MauiProgram.cs +++ b/samples/CommunityToolkit.Maui.Sample/MauiProgram.cs @@ -252,6 +252,8 @@ static void RegisterViewsAndViewModels(in IServiceCollection services) services.AddTransientPopup(); services.AddTransientPopup(); services.AddTransientPopup(); + + services.AddTransientPopupContent(); } static void RegisterEssentials(in IServiceCollection services) diff --git a/samples/CommunityToolkit.Maui.Sample/Pages/Views/Popup/MultiplePopupPage.xaml b/samples/CommunityToolkit.Maui.Sample/Pages/Views/Popup/MultiplePopupPage.xaml index d05ab27ce..1267aaebe 100644 --- a/samples/CommunityToolkit.Maui.Sample/Pages/Views/Popup/MultiplePopupPage.xaml +++ b/samples/CommunityToolkit.Maui.Sample/Pages/Views/Popup/MultiplePopupPage.xaml @@ -31,6 +31,8 @@