Improve enumerate result
MODIFY
WalletWasabi.Gui/Models/LoadWalletEntry.cs
WalletWasabi.Gui/Models/LoadWalletEntry.cs
@@ -21,21 +21,21 @@ namespace WalletWasabi.Gui.Models
string typeString = hwi.Model.ToString();
var walletNameBuilder = new StringBuilder(typeString);
- if (!string.IsNullOrWhiteSpace(hwi.Error))
+ if (hwi.NeedsPinSent is true)
{
- walletNameBuilder.Append($" - Error: {hwi.Error}");
+ walletNameBuilder.Append($" - Needs Pin Sent");
}
- else if (hwi.Code != null)
+ else if (hwi.NeedsPassphraseSent is true)
{
- walletNameBuilder.Append($" - Error: {hwi.Code}");
+ walletNameBuilder.Append($" - Needs Passphrase Sent");
}
- else if (hwi.NeedsPinSent is true)
+ else if (!string.IsNullOrWhiteSpace(hwi.Error))
{
- walletNameBuilder.Append($" - Needs Pin Sent");
+ walletNameBuilder.Append($" - Error: {hwi.Error}");
}
- else if (hwi.NeedsPassphraseSent is true)
+ else if (hwi.Code != null)
{
- walletNameBuilder.Append($" - Needs Passphrase Sent");
+ walletNameBuilder.Append($" - Error: {hwi.Code}");
}
else if (hwi.Fingerprint is null)
{

MODIFY
WalletWasabi.Gui/Tabs/WalletManager/LoadWalletViewModel.cs
WalletWasabi.Gui/Tabs/WalletManager/LoadWalletViewModel.cs
@@ -571,7 +571,7 @@ namespace WalletWasabi.Gui.Tabs.WalletManager
private async Task EnumerateHardwareWalletsAsync()
{
- var cts = new CancellationTokenSource(TimeSpan.FromMinutes(1));
+ var cts = new CancellationTokenSource(TimeSpan.FromMinutes(3));
IsHwWalletSearchTextVisible = true;
try
{

Improve enumerate result