diff --git a/Demo/App/App.xaml.cs b/Demo/App/App.xaml.cs index f5edcc0..0b803ef 100644 --- a/Demo/App/App.xaml.cs +++ b/Demo/App/App.xaml.cs @@ -5,7 +5,6 @@ public partial class App : Application public App() { InitializeComponent(); - - MainPage = new AppShell(); } + protected override Window CreateWindow(IActivationState? activationState) => new(new AppShell()); } \ No newline at end of file