From 71f6aa1179ad0a443c333f648aa0b39a977d593b Mon Sep 17 00:00:00 2001 From: logikonline Date: Sat, 17 Jan 2026 05:42:44 +0000 Subject: [PATCH] Improvements --- ShellDemo/App.xaml.cs | 6 +- ShellDemo/Pages/ListsPage.xaml | 6 +- ShellDemo/ShellDemo.csproj | 20 +++ TodoApp/App.xaml.cs | 9 +- TodoApp/TodoApp.csproj | 20 +++ WebViewDemo/App.xaml.cs | 9 +- WebViewDemo/Pages/WebViewPage.xaml | 227 ++++++++++++-------------- WebViewDemo/Pages/WebViewPage.xaml.cs | 78 ++++++++- WebViewDemo/Program.cs | 7 +- WebViewDemo/WebViewDemo.csproj | 20 +++ 10 files changed, 269 insertions(+), 133 deletions(-) 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"> - +