Elevate out TargetPrivacy enum into its own class.
MODIFY
WalletWasabi.Gui/Config.cs
WalletWasabi.Gui/Config.cs
@@ -7,6 +7,7 @@ using System.Net;
using System.Text;
using System.Threading.Tasks;
using WalletWasabi.Crypto;
+using WalletWasabi.Gui.Models;
using WalletWasabi.Helpers;
using WalletWasabi.Interfaces;
using WalletWasabi.JsonConverters;
@@ -529,14 +530,6 @@ namespace WalletWasabi.Gui
}
}
- public enum TargetPrivacy
- {
- None,
- Some,
- Fine,
- Strong,
- }
-
public TargetPrivacy GetTargetPrivacy()
{
if (MixUntilAnonymitySet == PrivacyLevelSome)

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/CoinJoinTabViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/CoinJoinTabViewModel.cs
@@ -9,6 +9,7 @@ using System.Reactive.Disposables;
using System.Reactive.Linq;
using System.Text;
using System.Threading.Tasks;
+using WalletWasabi.Gui.Models;
using WalletWasabi.Gui.ViewModels;
using WalletWasabi.Helpers;
using WalletWasabi.KeyManagement;

ADD
WalletWasabi.Gui/Models/TargetPrivacy.cs
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace WalletWasabi.Gui.Models
+{
+ public enum TargetPrivacy
+ {
+ None,
+ Some,
+ Fine,
+ Strong,
+ }
+}

Elevate out TargetPrivacy enum into its own class.