From 48a58461f0a4df220986774610d7c181d820d27a Mon Sep 17 00:00:00 2001 From: Andreas Date: Mon, 9 Dec 2024 06:48:05 +0100 Subject: [PATCH] Updated nugets Fixed #74 --- src/MauiSettings.Example/App.xaml.cs | 9 ++++++--- src/MauiSettings.Example/MauiSettings.Example.csproj | 5 +++++ src/MauiSettings/MauiSettings.csproj | 5 +++++ 3 files changed, 16 insertions(+), 3 deletions(-) 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 @@ + + + + +