Skip to content

Commit e8b5dc6

Browse files
authored
Set title on maui-blazor/-app template window (#25426)
Fixes #25338
1 parent 3b4c5b9 commit e8b5dc6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Templates/src/templates/maui-blazor-solution/MauiApp.1/App.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ public App()
99

1010
protected override Window CreateWindow(IActivationState? activationState)
1111
{
12-
return new Window(new MainPage());
12+
return new Window(new MainPage()) { Title = "MauiApp.1" };
1313
}
1414
}

src/Templates/src/templates/maui-blazor/App.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ public App()
99

1010
protected override Window CreateWindow(IActivationState? activationState)
1111
{
12-
return new Window(new MainPage());
12+
return new Window(new MainPage()) { Title = "MauiApp.1" };
1313
}
1414
}

0 commit comments

Comments
 (0)