remove unused converters.
DELETE
WalletWasabi.Fluent/Converters/ColumnHintsConverter.cs
-using System.Globalization;
-using System.Linq;
-using Avalonia.Collections;
-using Avalonia.Data.Converters;
-using Avalonia.Utilities;
-
-namespace WalletWasabi.Fluent.Converters;
-
-public class ColumnHintsConverter : IValueConverter
-{
- public static readonly ColumnHintsConverter Instance = new();
-
- private ColumnHintsConverter()
- {
- }
-
- object? IValueConverter.Convert(object? value, Type targetType, object? parameter, CultureInfo culture)
- {
- if (value is AvaloniaList<int> columnHints)
- {
- return string.Join(",", columnHints.Select(x => x.ToString(CultureInfo.InvariantCulture)));
- }
-
- return null;
- }
-
- object? IValueConverter.ConvertBack(object? value, Type targetType, object? parameter, CultureInfo culture)
- {
- if (value is string str)
- {
- var columnHints = new AvaloniaList<int>();
- var values = str.Split(',');
-
- foreach (var s in values)
- {
- if (TypeUtilities.TryConvert(typeof(int), s, culture, out var v) && v is { })
- {
- columnHints.Add((int)v);
- }
- else
- {
- // throw new InvalidCastException($"Could not convert '{s}' to {typeof(int)}.");
- return null;
- }
- }
-
- return columnHints;
- }
-
- return null;
- }
-}

DELETE
WalletWasabi.Fluent/Converters/NegativeDoubleConverter.cs
-using System.Globalization;
-using Avalonia.Data.Converters;
-
-namespace WalletWasabi.Fluent.Converters;
-
-public class NegativeDoubleConverter : IValueConverter
-{
- public static readonly NegativeDoubleConverter Instance = new();
-
- private NegativeDoubleConverter()
- {
- }
-
- object? IValueConverter.Convert(object? value, Type targetType, object? parameter, CultureInfo culture)
- {
- if (value is double d)
- {
- return -d;
- }
-
- return null;
- }
-
- object? IValueConverter.ConvertBack(object? value, Type targetType, object? parameter, CultureInfo culture)
- {
- return null;
- }
-}

DELETE
WalletWasabi.Fluent/Converters/WidthTriggersConverter.cs
-using System.Globalization;
-using System.Linq;
-using Avalonia.Collections;
-using Avalonia.Data.Converters;
-using Avalonia.Utilities;
-
-namespace WalletWasabi.Fluent.Converters;
-
-public class WidthTriggersConverter : IValueConverter
-{
- public static readonly WidthTriggersConverter Instance = new();
-
- private WidthTriggersConverter()
- {
- }
-
- object? IValueConverter.Convert(object? value, Type targetType, object? parameter, CultureInfo culture)
- {
- if (value is AvaloniaList<double> widthTriggers)
- {
- return string.Join(",", widthTriggers.Select(x => x.ToString(CultureInfo.InvariantCulture)));
- }
-
- return null;
- }
-
- object? IValueConverter.ConvertBack(object? value, Type targetType, object? parameter, CultureInfo culture)
- {
- if (value is string str)
- {
- var widthTriggers = new AvaloniaList<double>();
- var values = str.Split(',');
-
- foreach (var s in values)
- {
- if (TypeUtilities.TryConvert(typeof(double), s, culture, out var v) && v is double vd)
- {
- widthTriggers.Add(vd);
- }
- else
- {
- return null;
- }
- }
-
- return widthTriggers;
- }
-
- return null;
- }
-}

remove unused converters.