diff --git a/src/MauiSettings.Example/App.xaml.cs b/src/MauiSettings.Example/App.xaml.cs
index 75ea3bb..fb87c1c 100644
--- a/src/MauiSettings.Example/App.xaml.cs
+++ b/src/MauiSettings.Example/App.xaml.cs
@@ -1,5 +1,4 @@
-using AndreasReitberger.Shared.Core.Utilities;
-using MauiSettings.Example.Models.Settings;
+using MauiSettings.Example.Models.Settings;
namespace MauiSettings.Example
{
@@ -14,7 +13,11 @@ public App()
// Only Async methods do support encryption!
_ = Task.Run(async () => await SettingsApp.LoadSettingsAsync(Hash));
- MainPage = new AppShell();
+ }
+
+ protected override Window CreateWindow(IActivationState? activationState)
+ {
+ return new Window(new AppShell());
}
protected override void OnSleep()
diff --git a/src/MauiSettings.Example/MauiSettings.Example.csproj b/src/MauiSettings.Example/MauiSettings.Example.csproj
index 4f8ac66..efdd8f1 100644
--- a/src/MauiSettings.Example/MauiSettings.Example.csproj
+++ b/src/MauiSettings.Example/MauiSettings.Example.csproj
@@ -52,4 +52,9 @@
+
+
+
+
+
diff --git a/src/MauiSettings/MauiSettings.csproj b/src/MauiSettings/MauiSettings.csproj
index f69bfdb..adb0f97 100644
--- a/src/MauiSettings/MauiSettings.csproj
+++ b/src/MauiSettings/MauiSettings.csproj
@@ -24,4 +24,9 @@
+
+
+
+
+