Remove `IconName` property
MODIFY
WalletWasabi.Fluent/ViewModels/CoinJoinProfiles/CoinJoinProfileViewModelBase.cs
WalletWasabi.Fluent/ViewModels/CoinJoinProfiles/CoinJoinProfileViewModelBase.cs
-using Avalonia.Media;
-
namespace WalletWasabi.Fluent.ViewModels.CoinJoinProfiles;
public abstract class CoinJoinProfileViewModelBase : ViewModelBase
@@ -15,6 +13,4 @@ public abstract class CoinJoinProfileViewModelBase : ViewModelBase
public virtual int MaxAnonScoreTarget { get; } = 10;
public abstract int FeeRateMedianTimeFrameHours { get; }
-
- public abstract string IconName { get; }
}

MODIFY
WalletWasabi.Fluent/ViewModels/CoinJoinProfiles/EconomicCoinJoinProfileViewModel.cs
WalletWasabi.Fluent/ViewModels/CoinJoinProfiles/EconomicCoinJoinProfileViewModel.cs
-using Avalonia.Media;
-using WalletWasabi.Fluent.Helpers;
-
namespace WalletWasabi.Fluent.ViewModels.CoinJoinProfiles;
internal class EconomicCoinJoinProfileViewModel : CoinJoinProfileViewModelBase
@@ -10,6 +7,4 @@ internal class EconomicCoinJoinProfileViewModel : CoinJoinProfileViewModelBase
public override string Description => "For savers. Only participates in coinjoins during the cheapest parts of the week.";
public override int FeeRateMedianTimeFrameHours => 168; // One week median.
-
- public override string IconName => "coinjoin_cost";
}

MODIFY
WalletWasabi.Fluent/ViewModels/CoinJoinProfiles/ManualCoinJoinProfileViewModel.cs
WalletWasabi.Fluent/ViewModels/CoinJoinProfiles/ManualCoinJoinProfileViewModel.cs
@@ -21,6 +21,4 @@ public class ManualCoinJoinProfileViewModel : CoinJoinProfileViewModelBase
public override int MaxAnonScoreTarget { get; }
public override int FeeRateMedianTimeFrameHours { get; }
-
- public override string IconName => "coinjoin_cost";
}

MODIFY
WalletWasabi.Fluent/ViewModels/CoinJoinProfiles/PrivateCoinJoinProfileViewModel.cs
WalletWasabi.Fluent/ViewModels/CoinJoinProfiles/PrivateCoinJoinProfileViewModel.cs
-using Avalonia.Media;
using WalletWasabi.Crypto.Randomness;
-using WalletWasabi.Fluent.Helpers;
namespace WalletWasabi.Fluent.ViewModels.CoinJoinProfiles;
@@ -21,6 +19,4 @@ internal class PrivateCoinJoinProfileViewModel : CoinJoinProfileViewModelBase
using SecureRandom rand = new();
return rand.GetInt(minInclusive, maxExclusive);
}
-
- public override string IconName => "coinjoin_privacy";
}

MODIFY
WalletWasabi.Fluent/ViewModels/CoinJoinProfiles/SpeedyCoinJoinProfileViewModel.cs
WalletWasabi.Fluent/ViewModels/CoinJoinProfiles/SpeedyCoinJoinProfileViewModel.cs
-using Avalonia.Media;
-using WalletWasabi.Fluent.Helpers;
-
namespace WalletWasabi.Fluent.ViewModels.CoinJoinProfiles;
internal class SpeedyCoinJoinProfileViewModel : CoinJoinProfileViewModelBase
@@ -10,6 +7,4 @@ internal class SpeedyCoinJoinProfileViewModel : CoinJoinProfileViewModelBase
public override string Description => "Getting things done. Geared towards speed and convenience.";
public override int FeeRateMedianTimeFrameHours => 0;
-
- public override string IconName => "coinjoin_speed";
}

Remove `IconName` property