diff --git a/src/Artemis.UI.Avalonia/App.axaml b/src/Artemis.UI.Avalonia/App.axaml
index 0daed3338..fb754aab7 100644
--- a/src/Artemis.UI.Avalonia/App.axaml
+++ b/src/Artemis.UI.Avalonia/App.axaml
@@ -2,25 +2,23 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:Artemis.UI.Avalonia"
xmlns:sty="using:FluentAvalonia.Styling"
- xmlns:ui="using:FluentAvalonia.UI.Controls"
- xmlns:uip="using:FluentAvalonia.UI.Controls.Primitives"
x:Class="Artemis.UI.Avalonia.App">
-
+
-
-
-
+
+
+
-
+
-
-
-
+
+
+
-
+
\ No newline at end of file
diff --git a/src/Artemis.UI.Avalonia/Artemis.UI.Avalonia.csproj b/src/Artemis.UI.Avalonia/Artemis.UI.Avalonia.csproj
index 2a4fb9d50..e3b4cb988 100644
--- a/src/Artemis.UI.Avalonia/Artemis.UI.Avalonia.csproj
+++ b/src/Artemis.UI.Avalonia/Artemis.UI.Avalonia.csproj
@@ -1,76 +1,72 @@
-
- WinExe
- net5.0
- enable
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- %(Filename)
-
-
- %(Filename)
-
-
- %(Filename)
-
-
- %(Filename)
-
-
- %(Filename)
-
-
- SidebarView.axaml
- Code
-
-
- RootView.axaml
- Code
-
-
-
-
-
-
-
-
-
-
-
-
- ..\..\..\RGB.NET\bin\net5.0\RGB.NET.Core.dll
-
-
-
-
-
-
-
-
-
-
+
+ WinExe
+ net5.0
+ enable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ %(Filename)
+
+
+ %(Filename)
+
+
+ %(Filename)
+
+
+ %(Filename)
+
+
+ %(Filename)
+
+
+ SidebarView.axaml
+ Code
+
+
+ RootView.axaml
+ Code
+
+
+
+
+
+
+
+
+
+
+
+
+ ..\..\..\RGB.NET\bin\net5.0\RGB.NET.Core.dll
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Artemis.UI.Avalonia/Converters/ColorToSolidColorBrushConverter.cs b/src/Artemis.UI.Avalonia/Converters/ColorToSolidColorBrushConverter.cs
index b29bfe53a..c49188a74 100644
--- a/src/Artemis.UI.Avalonia/Converters/ColorToSolidColorBrushConverter.cs
+++ b/src/Artemis.UI.Avalonia/Converters/ColorToSolidColorBrushConverter.cs
@@ -14,7 +14,6 @@ namespace Artemis.UI.Avalonia.Converters
///
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
-
return new SolidColorBrush(!(value is RGBColor color)
? new Color(0, 0, 0, 0)
: new Color((byte) color.A, (byte) color.R, (byte) color.G, (byte) color.B));
diff --git a/src/Artemis.UI.Avalonia/Converters/EnumToCollectionConverter.cs b/src/Artemis.UI.Avalonia/Converters/EnumToCollectionConverter.cs
index 1d1977444..a3e6609d1 100644
--- a/src/Artemis.UI.Avalonia/Converters/EnumToCollectionConverter.cs
+++ b/src/Artemis.UI.Avalonia/Converters/EnumToCollectionConverter.cs
@@ -8,19 +8,8 @@ using Avalonia.Markup.Xaml;
namespace Artemis.UI.Avalonia.Converters
{
-
public class EnumToCollectionConverter : MarkupExtension, IValueConverter
{
- public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
- {
- return GetAllValuesAndDescriptions(value.GetType());
- }
-
- public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
- {
- return null;
- }
-
public override object ProvideValue(IServiceProvider serviceProvider)
{
return this;
@@ -44,5 +33,15 @@ namespace Artemis.UI.Avalonia.Converters
return Enum.GetValues(t).Cast().Select(e => new Tuple