Rename HardwareWalletOperationHelper => HardwareWalletOperationHelpers
MODIFY
WalletWasabi.Fluent/ViewModels/AddWallet/HardwareWallet/ConnectHardwareWalletViewModel.cs
WalletWasabi.Fluent/ViewModels/AddWallet/HardwareWallet/ConnectHardwareWalletViewModel.cs
@@ -100,7 +100,7 @@ namespace WalletWasabi.Fluent.ViewModels.AddWallet.HardwareWallet
{
CancellationTokenSource cts = new();
AbandonedTasks.AddAndClearCompleted(CheckForPassphraseAsync(cts.Token));
- var result = await HardwareWalletOperationHelper.DetectAsync(WalletManager.Network, cancel);
+ var result = await HardwareWalletOperationHelpers.DetectAsync(WalletManager.Network, cancel);
cts.Cancel();
EvaluateDetectionResult(result, cancel);
}
@@ -160,7 +160,7 @@ namespace WalletWasabi.Fluent.ViewModels.AddWallet.HardwareWallet
else
{
Message = "Check your device and finish the initialization.";
- AbandonedTasks.AddAndClearCompleted(HardwareWalletOperationHelper.InitHardwareWalletAsync(device, WalletManager.Network, cancel));
+ AbandonedTasks.AddAndClearCompleted(HardwareWalletOperationHelpers.InitHardwareWalletAsync(device, WalletManager.Network, cancel));
}
return;

MODIFY
WalletWasabi.Fluent/ViewModels/AddWallet/HardwareWallet/DetectedHardwareWalletViewModel.cs
WalletWasabi.Fluent/ViewModels/AddWallet/HardwareWallet/DetectedHardwareWalletViewModel.cs
@@ -36,7 +36,7 @@ namespace WalletWasabi.Fluent.ViewModels.AddWallet.HardwareWallet
try
{
var walletFilePath = WalletManager.WalletDirectories.GetWalletFilePaths(WalletName).walletFilePath;
- var km = await HardwareWalletOperationHelper.GenerateWalletAsync(device, walletFilePath, WalletManager.Network, CancelCts.Token);
+ var km = await HardwareWalletOperationHelpers.GenerateWalletAsync(device, walletFilePath, WalletManager.Network, CancelCts.Token);
km.SetIcon(Type);
Navigate().To(new AddedWalletPageViewModel(walletManager, km));

RENAME
WalletWasabi/Helpers/HardwareWalletOperationHelper.cs
WalletWasabi/Helpers/HardwareWalletOperationHelpers.cs
@@ -10,7 +10,7 @@ using WalletWasabi.Logging;
namespace WalletWasabi.Helpers
{
- public static class HardwareWalletOperationHelper
+ public static class HardwareWalletOperationHelpers
{
public static async Task<KeyManager> GenerateWalletAsync(HwiEnumerateEntry device, string walletFilePath, Network network, CancellationToken cancelToken)
{

Rename HardwareWalletOperationHelper => HardwareWalletOperationHelpers