Skip to content

Commit 9227d72

Browse files
Update App.xaml.cs
1 parent 9187244 commit 9227d72

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

TreeViewMAUI/App.xaml.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@ public partial class App : Application
55
public App()
66
{
77
InitializeComponent();
8-
9-
MainPage = new MainPage();
8+
}
9+
10+
protected override Window CreateWindow(IActivationState? activationState)
11+
{
12+
return new Window(new MainPage());
1013
}
1114
}
1215
}

0 commit comments

Comments
 (0)