Add Trezor Model T support.
MODIFY
WalletWasabi.Gui/Tabs/WalletManager/LoadWalletView.xaml
WalletWasabi.Gui/Tabs/WalletManager/LoadWalletView.xaml
</StackPanel>
<StackPanel>
<TextBlock Text="Which hardware wallets are currently supported?" FontWeight="Bold" />
- <TextBlock Text="- Only Coldcard, but Wasabi may work with Digital BitBox, KeepKey, Ledger Nano S and Trezor One, but they were not yet tested." TextWrapping="Wrap" />
+ <TextBlock Text="- Coldcard and Trezor Model T." TextWrapping="Wrap" />
+ <TextBlock Text="- While other hardware wallets may work, they were not tested by Wasabi developers." TextWrapping="Wrap" />
</StackPanel>
</StackPanel>
</Grid>

MODIFY
WalletWasabi.Gui/Tabs/WalletManager/LoadWalletViewModel.cs
WalletWasabi.Gui/Tabs/WalletManager/LoadWalletViewModel.cs
@@ -435,7 +435,7 @@ namespace WalletWasabi.Gui.Tabs.WalletManager
await Global.InitializeWalletServiceAsync(keyManager);
});
// Successffully initialized.
- IoC.Get<IShell>().RemoveDocument(Owner);
+ Owner.OnClose();
// Open Wallet Explorer tabs
if (Global.WalletService.Coins.Any())
{

MODIFY
WalletWasabi.Gui/Tabs/WalletManager/WalletManagerViewModel.cs
WalletWasabi.Gui/Tabs/WalletManager/WalletManagerViewModel.cs
@@ -111,6 +111,8 @@ namespace WalletWasabi.Gui.Tabs.WalletManager
{
try
{
+ if (LoadWalletViewModelDesktop.IsWalletOpened || LoadWalletViewModelHardware.IsWalletOpened) continue; // Will wait 3sec, because of the finally.
+
var hwis = await HwiProcessManager.EnumerateAsync();
LoadWalletViewModelHardware.TryRefreshHardwareWallets(hwis);
@@ -131,10 +133,12 @@ namespace WalletWasabi.Gui.Tabs.WalletManager
{
Logger.LogError<WalletManagerViewModel>(ex);
}
-
+ finally
+ {
await Task.Delay(3000, HardwareWalletRefreshCancel.Token);
}
}
+ }
catch (TaskCanceledException ex)
{
Logger.LogTrace<WalletManagerViewModel>(ex);

Add Trezor Model T support.