From cb6fbc09026fb532df4b1db07bf27d8e51aa3515 Mon Sep 17 00:00:00 2001 From: Eilon Lipton Date: Fri, 18 Oct 2024 10:29:32 -0700 Subject: [PATCH] Set title on maui-blazor/-app template window Fixes #25338 --- .../src/templates/maui-blazor-solution/MauiApp.1/App.xaml.cs | 2 +- src/Templates/src/templates/maui-blazor/App.xaml.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Templates/src/templates/maui-blazor-solution/MauiApp.1/App.xaml.cs b/src/Templates/src/templates/maui-blazor-solution/MauiApp.1/App.xaml.cs index a1a067ff4484..21370ac1cb30 100644 --- a/src/Templates/src/templates/maui-blazor-solution/MauiApp.1/App.xaml.cs +++ b/src/Templates/src/templates/maui-blazor-solution/MauiApp.1/App.xaml.cs @@ -9,6 +9,6 @@ public App() protected override Window CreateWindow(IActivationState? activationState) { - return new Window(new MainPage()); + return new Window(new MainPage()) { Title = "MauiApp.1" }; } } diff --git a/src/Templates/src/templates/maui-blazor/App.xaml.cs b/src/Templates/src/templates/maui-blazor/App.xaml.cs index a547442489c6..e78788edbcca 100644 --- a/src/Templates/src/templates/maui-blazor/App.xaml.cs +++ b/src/Templates/src/templates/maui-blazor/App.xaml.cs @@ -9,6 +9,6 @@ public App() protected override Window CreateWindow(IActivationState? activationState) { - return new Window(new MainPage()); + return new Window(new MainPage()) { Title = "MauiApp.1" }; } }