Skip to content

Commit 6dcb996

Browse files
committed
Update App.xaml.cs
1 parent 0bb9d6c commit 6dcb996

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

App.xaml.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@ 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
}
1215
}

0 commit comments

Comments
 (0)