TabViewModel naming
RENAME
WalletWasabi.Fluent/ViewModels/Settings/BitcoinTabTabViewModel.cs
WalletWasabi.Fluent/ViewModels/Settings/BitcoinTabViewModel.cs
@@ -12,7 +12,7 @@ using WalletWasabi.Userfacing;
namespace WalletWasabi.Fluent.ViewModels.Settings
{
- public class BitcoinTabTabViewModel : SettingsTabViewModelBase
+ public class BitcoinTabViewModel : SettingsTabViewModelBase
{
private Network _network;
private bool _startLocalBitcoinCoreOnStartup;
@@ -20,7 +20,7 @@ namespace WalletWasabi.Fluent.ViewModels.Settings
private bool _stopLocalBitcoinCoreOnShutdown;
private string _bitcoinP2PEndPoint;
- public BitcoinTabTabViewModel(Global global) : base(global)
+ public BitcoinTabViewModel(Global global) : base(global)
{
this.ValidateProperty(x => x.BitcoinP2PEndPoint, ValidateBitcoinP2PEndPoint);

RENAME
WalletWasabi.Fluent/ViewModels/Settings/GeneralTabTabViewModel.cs
WalletWasabi.Fluent/ViewModels/Settings/GeneralTabViewModel.cs
@@ -11,7 +11,7 @@ using WalletWasabi.Models;
namespace WalletWasabi.Fluent.ViewModels.Settings
{
- public class GeneralTabTabViewModel : SettingsTabViewModelBase
+ public class GeneralTabViewModel : SettingsTabViewModelBase
{
private bool _darkModeEnabled;
private bool _autocopy;
@@ -20,7 +20,7 @@ namespace WalletWasabi.Fluent.ViewModels.Settings
private FeeDisplayFormat _selectedFeeDisplayFormat;
private string _dustThreshold;
- public GeneralTabTabViewModel(Global global) : base(global)
+ public GeneralTabViewModel(Global global) : base(global)
{
this.ValidateProperty(x => x.DustThreshold, ValidateDustThreshold);

RENAME
WalletWasabi.Fluent/ViewModels/Settings/NetworkTabTabViewModel.cs
WalletWasabi.Fluent/ViewModels/Settings/NetworkTabViewModel.cs
@@ -10,13 +10,13 @@ using WalletWasabi.Userfacing;
namespace WalletWasabi.Fluent.ViewModels.Settings
{
- public class NetworkTabTabViewModel : SettingsTabViewModelBase
+ public class NetworkTabViewModel : SettingsTabViewModelBase
{
private bool _useTor;
private bool _terminateTorOnExit;
private string _torSocks5EndPoint;
- public NetworkTabTabViewModel(Global global) : base(global)
+ public NetworkTabViewModel(Global global) : base(global)
{
this.ValidateProperty(x => x.TorSocks5EndPoint, ValidateTorSocks5EndPoint);

RENAME
WalletWasabi.Fluent/ViewModels/Settings/PrivacyTabTabViewModel.cs
WalletWasabi.Fluent/ViewModels/Settings/PrivacyTabViewModel.cs
@@ -5,13 +5,13 @@ using WalletWasabi.Gui;
namespace WalletWasabi.Fluent.ViewModels.Settings
{
- public class PrivacyTabTabViewModel : SettingsTabViewModelBase
+ public class PrivacyTabViewModel : SettingsTabViewModelBase
{
private int _minimalPrivacyLevel;
private int _mediumPrivacyLevel;
private int _strongPrivacyLevel;
- public PrivacyTabTabViewModel(Global global) : base(global)
+ public PrivacyTabViewModel(Global global) : base(global)
{
_minimalPrivacyLevel = global.Config.PrivacyLevelSome;
_mediumPrivacyLevel = global.Config.PrivacyLevelFine;

MODIFY
WalletWasabi.Fluent/ViewModels/Settings/SettingsPageViewModel.cs
WalletWasabi.Fluent/ViewModels/Settings/SettingsPageViewModel.cs
@@ -21,10 +21,10 @@ namespace WalletWasabi.Fluent.ViewModels.Settings
_selectedTab = 0;
- GeneralTab = new GeneralTabTabViewModel(global);
- PrivacyTab = new PrivacyTabTabViewModel(global);
- NetworkTab = new NetworkTabTabViewModel(global);
- BitcoinTab = new BitcoinTabTabViewModel(global);
+ GeneralTab = new GeneralTabViewModel(global);
+ PrivacyTab = new PrivacyTabViewModel(global);
+ NetworkTab = new NetworkTabViewModel(global);
+ BitcoinTab = new BitcoinTabViewModel(global);
}
protected override void OnNavigatedTo(bool inStack, CompositeDisposable disposable)
@@ -39,10 +39,10 @@ namespace WalletWasabi.Fluent.ViewModels.Settings
}));
}
- public GeneralTabTabViewModel GeneralTab { get; }
- public PrivacyTabTabViewModel PrivacyTab { get; }
- public NetworkTabTabViewModel NetworkTab { get; }
- public BitcoinTabTabViewModel BitcoinTab { get; }
+ public GeneralTabViewModel GeneralTab { get; }
+ public PrivacyTabViewModel PrivacyTab { get; }
+ public NetworkTabViewModel NetworkTab { get; }
+ public BitcoinTabViewModel BitcoinTab { get; }
public bool IsModified
{

TabViewModel naming