diff --git a/Hyperbar.Controls.Windows/Hyperbar.Controls.Windows.csproj b/Hyperbar.Controls.Windows/Hyperbar.Controls.Windows.csproj
index a28294b..2d099ca 100644
--- a/Hyperbar.Controls.Windows/Hyperbar.Controls.Windows.csproj
+++ b/Hyperbar.Controls.Windows/Hyperbar.Controls.Windows.csproj
@@ -17,7 +17,7 @@
-
+
diff --git a/Hyperbar.UI.Windows/Hyperbar.UI.Windows.csproj b/Hyperbar.UI.Windows/Hyperbar.UI.Windows.csproj
index ec11b2b..8879832 100644
--- a/Hyperbar.UI.Windows/Hyperbar.UI.Windows.csproj
+++ b/Hyperbar.UI.Windows/Hyperbar.UI.Windows.csproj
@@ -9,7 +9,7 @@
enable
-
+
diff --git a/Hyperbar.Widget.MediaController.Windows/Hyperbar.Widget.MediaController.Windows.csproj b/Hyperbar.Widget.MediaController.Windows/Hyperbar.Widget.MediaController.Windows.csproj
index bdc5404..dbcfbe4 100644
--- a/Hyperbar.Widget.MediaController.Windows/Hyperbar.Widget.MediaController.Windows.csproj
+++ b/Hyperbar.Widget.MediaController.Windows/Hyperbar.Widget.MediaController.Windows.csproj
@@ -12,10 +12,10 @@
-
+
-
+
diff --git a/Hyperbar.Widget.Primary.Windows/Hyperbar.Widget.Primary.Windows.csproj b/Hyperbar.Widget.Primary.Windows/Hyperbar.Widget.Primary.Windows.csproj
index 459e51f..678fcd1 100644
--- a/Hyperbar.Widget.Primary.Windows/Hyperbar.Widget.Primary.Windows.csproj
+++ b/Hyperbar.Widget.Primary.Windows/Hyperbar.Widget.Primary.Windows.csproj
@@ -6,8 +6,8 @@
enable
-
-
+
+
diff --git a/Hyperbar.Widget.Windows/Hyperbar.Widget.Windows.csproj b/Hyperbar.Widget.Windows/Hyperbar.Widget.Windows.csproj
index 550e850..23ae60f 100644
--- a/Hyperbar.Widget.Windows/Hyperbar.Widget.Windows.csproj
+++ b/Hyperbar.Widget.Windows/Hyperbar.Widget.Windows.csproj
@@ -8,12 +8,12 @@
enable
-
-
-
-
-
-
+
+
+
+
+
+
@@ -23,18 +23,4 @@
-
-
- $(DefaultXamlRuntime)
- Designer
-
-
- $(DefaultXamlRuntime)
- Designer
-
-
- $(DefaultXamlRuntime)
- Designer
-
-
\ No newline at end of file
diff --git a/Hyperbar.Widget.Windows/IServiceCollectionExtensions.cs b/Hyperbar.Widget.Windows/IServiceCollectionExtensions.cs
index 21224db..27a86d8 100644
--- a/Hyperbar.Widget.Windows/IServiceCollectionExtensions.cs
+++ b/Hyperbar.Widget.Windows/IServiceCollectionExtensions.cs
@@ -38,6 +38,8 @@ public static class IServiceCollectionExtensions
services.AddContentTemplate();
services.AddContentTemplate("WidgetSettings");
+
+ services.AddContentTemplate, WidgetAvailabilityConfigurationView>();
})));
return services;
diff --git a/Hyperbar.Widget.Windows/WidgetAvailabilityConfigurationView.xaml b/Hyperbar.Widget.Windows/WidgetAvailabilityConfigurationView.xaml
new file mode 100644
index 0000000..41980bc
--- /dev/null
+++ b/Hyperbar.Widget.Windows/WidgetAvailabilityConfigurationView.xaml
@@ -0,0 +1,7 @@
+
+
diff --git a/Hyperbar.Widget.Windows/WidgetAvailabilityConfigurationView.xaml.cs b/Hyperbar.Widget.Windows/WidgetAvailabilityConfigurationView.xaml.cs
new file mode 100644
index 0000000..fb057c1
--- /dev/null
+++ b/Hyperbar.Widget.Windows/WidgetAvailabilityConfigurationView.xaml.cs
@@ -0,0 +1,10 @@
+using CommunityToolkit.WinUI.Controls;
+
+namespace Hyperbar.Widget.Windows;
+
+public sealed partial class WidgetAvailabilityConfigurationView :
+ SettingsCard
+{
+ public WidgetAvailabilityConfigurationView() =>
+ InitializeComponent();
+}
diff --git a/Hyperbar.Widget.Windows/WidgetConfigurationView.xaml b/Hyperbar.Widget.Windows/WidgetConfigurationView.xaml
index c28adff..50d4165 100644
--- a/Hyperbar.Widget.Windows/WidgetConfigurationView.xaml
+++ b/Hyperbar.Widget.Windows/WidgetConfigurationView.xaml
@@ -3,5 +3,5 @@
x:Class="Hyperbar.Widget.Windows.WidgetConfigurationView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
-
+
diff --git a/Hyperbar.Windows/Dispatcher.cs b/Hyperbar.Windows/Dispatcher.cs
index d76e1ac..f9efa9a 100644
--- a/Hyperbar.Windows/Dispatcher.cs
+++ b/Hyperbar.Windows/Dispatcher.cs
@@ -1,4 +1,5 @@
-using CommunityToolkit.WinUI;
+
+using CommunityToolkit.WinUI;
using Microsoft.UI.Dispatching;
namespace Hyperbar.Windows;
@@ -6,6 +7,8 @@ namespace Hyperbar.Windows;
public class Dispatcher(DispatcherQueue dispatcherQueue) :
IDispatcher
{
- public async Task InvokeAsync(Action action) =>
+ public async Task InvokeAsync(Action action)
+ {
await dispatcherQueue.EnqueueAsync(action.Invoke);
+ }
}
diff --git a/Hyperbar.Windows/Hyperbar.Windows.csproj b/Hyperbar.Windows/Hyperbar.Windows.csproj
index c43ebcc..7c34aac 100644
--- a/Hyperbar.Windows/Hyperbar.Windows.csproj
+++ b/Hyperbar.Windows/Hyperbar.Windows.csproj
@@ -32,12 +32,12 @@
-
-
-
-
-
-
+
+
+
+
+
+
@@ -56,35 +56,4 @@
-
-
- MSBuild:Compile
-
-
-
-
- MSBuild:Compile
-
-
-
-
- MSBuild:Compile
-
-
-
-
- MSBuild:Compile
-
-
-
-
- MSBuild:Compile
-
-
-
-
- $(DefaultXamlRuntime)
- Designer
-
-
\ No newline at end of file
diff --git a/Hyperbar/Hyperbar.csproj b/Hyperbar/Hyperbar.csproj
index 1850150..e27f1b3 100644
--- a/Hyperbar/Hyperbar.csproj
+++ b/Hyperbar/Hyperbar.csproj
@@ -6,7 +6,7 @@
-
+