Skip to content

Commit 0a587ce

Browse files
committed
Changes done in App.xaml
1 parent cbe2827 commit 0a587ce

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ListViewMaui/App.xaml.cs

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

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

0 commit comments

Comments
 (0)