Skip to content

Commit 1fac313

Browse files
authored
Update App.xaml.cs
1 parent 50d1ddb commit 1fac313

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

MauiProject/App.xaml.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ public partial class App : Application
55
public App()
66
{
77
InitializeComponent();
8+
}
89

9-
MainPage = new MainPage();
10+
protected override Window CreateWindow(IActivationState activationState)
11+
{
12+
return new Window(new MainPage());
1013
}
1114
}

0 commit comments

Comments
 (0)