diff --git a/ShellDemo/App.xaml.cs b/ShellDemo/App.xaml.cs index c619eab..4d53b7b 100644 --- a/ShellDemo/App.xaml.cs +++ b/ShellDemo/App.xaml.cs @@ -9,6 +9,10 @@ public partial class App : Application public App() { InitializeComponent(); - MainPage = new AppShell(); + } + + protected override Window CreateWindow(IActivationState? activationState) + { + return new Window(new AppShell()); } } diff --git a/ShellDemo/Pages/ListsPage.xaml b/ShellDemo/Pages/ListsPage.xaml index cf42f0f..5f21959 100644 --- a/ShellDemo/Pages/ListsPage.xaml +++ b/ShellDemo/Pages/ListsPage.xaml @@ -30,7 +30,7 @@ BackgroundColor="{AppThemeBinding Light=#FAFAFA, Dark=#2C2C2C}" SelectionChanged="OnFruitsSelectionChanged"> - +