diff --git a/NotificationFlyout.Sample.Uwp/NotificationFlyout.Sample.Uwp.csproj b/NotificationFlyout.Sample.Uwp/NotificationFlyout.Sample.Uwp.csproj
index 534f109..8977c46 100644
--- a/NotificationFlyout.Sample.Uwp/NotificationFlyout.Sample.Uwp.csproj
+++ b/NotificationFlyout.Sample.Uwp/NotificationFlyout.Sample.Uwp.csproj
@@ -7,6 +7,9 @@
9.0
false
+
+
+
diff --git a/NotificationFlyout.Sample.Uwp/NotificationFlyoutPresenter.xaml b/NotificationFlyout.Sample.Uwp/NotificationFlyoutPresenter.xaml
index adb6202..f53eff9 100644
--- a/NotificationFlyout.Sample.Uwp/NotificationFlyoutPresenter.xaml
+++ b/NotificationFlyout.Sample.Uwp/NotificationFlyoutPresenter.xaml
@@ -2,7 +2,7 @@
x:Class="NotificationFlyout.Sample.Uwp.NotificationFlyoutPresenter"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:controls="using:NotificationFlyout.Uwp.UI.Controls">
+ xmlns:winui="using:Microsoft.UI.Xaml.Controls">
GetSystemTheme();
-
- public static SystemPersonalisationHelper Create()
- {
- return new SystemPersonalisationHelper();
- }
-
- private SystemTheme GetSystemTheme()
- {
- var uiTheme = _settings.GetColorValue(UIColorType.Background).ToString();
- return uiTheme == "#FFFFFFFF" ? SystemTheme.Light : SystemTheme.Dark;
- }
- }
-}
diff --git a/NotificationFlyout.Shared.UI/Helpers/SystemTheme.cs b/NotificationFlyout.Shared.UI/Helpers/SystemTheme.cs
deleted file mode 100644
index ee90015..0000000
--- a/NotificationFlyout.Shared.UI/Helpers/SystemTheme.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-namespace NotificationFlyout.Shared.UI.Helpers
-{
- public enum SystemTheme
- {
- Dark,
- Light,
- }
-}
diff --git a/NotificationFlyout.Shared.UI/NotificationFlyout.Shared.UI.csproj b/NotificationFlyout.Shared.UI/NotificationFlyout.Shared.UI.csproj
deleted file mode 100644
index 92145d4..0000000
--- a/NotificationFlyout.Shared.UI/NotificationFlyout.Shared.UI.csproj
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- netcoreapp3.1
-
-
-
-
-
-
-
diff --git a/NotificationFlyout.XamlHost/App.xaml b/NotificationFlyout.XamlHost/App.xaml
index 2b769b7..41474d6 100644
--- a/NotificationFlyout.XamlHost/App.xaml
+++ b/NotificationFlyout.XamlHost/App.xaml
@@ -2,4 +2,8 @@
x:Class="NotificationFlyout.XamlHost.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:xamlhost="using:Microsoft.Toolkit.Win32.UI.XamlHost" />
\ No newline at end of file
+ xmlns:xamlhost="using:Microsoft.Toolkit.Win32.UI.XamlHost">
+
+
+
+
\ No newline at end of file
diff --git a/NotificationFlyout.XamlHost/NotificationFlyout.XamlHost.csproj b/NotificationFlyout.XamlHost/NotificationFlyout.XamlHost.csproj
index e3498f8..97c40ec 100644
--- a/NotificationFlyout.XamlHost/NotificationFlyout.XamlHost.csproj
+++ b/NotificationFlyout.XamlHost/NotificationFlyout.XamlHost.csproj
@@ -149,6 +149,9 @@
6.1.2
+
+ 2.5.0-prerelease.201202003
+