Remove static keyword (properties)
MODIFY
WalletWasabi.Fluent/ViewModels/Dialogs/AboutAdvancedInfoViewModel.cs
WalletWasabi.Fluent/ViewModels/Dialogs/AboutAdvancedInfoViewModel.cs
@@ -12,13 +12,13 @@ namespace WalletWasabi.Fluent.ViewModels.Dialogs
NextCommand = CancelCommand;
}
- public static Version BitcoinCoreVersion => Constants.BitcoinCoreVersion;
+ public Version BitcoinCoreVersion => Constants.BitcoinCoreVersion;
- public static Version HwiVersion => Constants.HwiVersion;
+ public Version HwiVersion => Constants.HwiVersion;
- public static string BackendCompatibleVersions => Constants.ClientSupportBackendVersionText;
+ public string BackendCompatibleVersions => Constants.ClientSupportBackendVersionText;
- public static string CurrentBackendMajorVersion => WasabiClient.ApiVersion.ToString();
+ public string CurrentBackendMajorVersion => WasabiClient.ApiVersion.ToString();
protected override void OnDialogClosed()
{

MODIFY
WalletWasabi.Fluent/ViewModels/HelpAndSupport/AboutViewModel.cs
WalletWasabi.Fluent/ViewModels/HelpAndSupport/AboutViewModel.cs
@@ -55,7 +55,7 @@ namespace WalletWasabi.Fluent.ViewModels.HelpAndSupport
public ICommand CopyLinkCommand { get; }
- public static Version ClientVersion => Constants.ClientVersion;
+ public Version ClientVersion => Constants.ClientVersion;
public static string ClearnetLink => "https://wasabiwallet.io/";

MODIFY
WalletWasabi.Fluent/ViewModels/Settings/BitcoinTabSettingsViewModel.cs
WalletWasabi.Fluent/ViewModels/Settings/BitcoinTabSettingsViewModel.cs
@@ -56,9 +56,9 @@ namespace WalletWasabi.Fluent.ViewModels.Settings
.Subscribe(_ => Save());
}
- public static Version BitcoinCoreVersion => Constants.BitcoinCoreVersion;
+ public Version BitcoinCoreVersion => Constants.BitcoinCoreVersion;
- public static IEnumerable<Network> Networks => Network.GetNetworks();
+ public IEnumerable<Network> Networks => Network.GetNetworks();
private void ValidateBitcoinP2PEndPoint(IValidationErrors errors)
=> ValidateEndPoint(errors, BitcoinP2PEndPoint, Network.DefaultPort, whiteSpaceOk: true);

Remove static keyword (properties)