hardware wallet link
MODIFY
WalletWasabi.Fluent/ViewModels/AddWallet/HardwareWallet/ConnectHardwareWalletViewModel.cs
WalletWasabi.Fluent/ViewModels/AddWallet/HardwareWallet/ConnectHardwareWalletViewModel.cs
using System;
+using System.IO;
using System.Reactive.Disposables;
using System.Threading.Tasks;
using System.Timers;
+using System.Windows.Input;
using NBitcoin;
using ReactiveUI;
using WalletWasabi.Fluent.ViewModels.Navigation;
@@ -42,6 +44,10 @@ namespace WalletWasabi.Fluent.ViewModels.AddWallet.HardwareWallet
Message = "";
});
+ // TODO: Create an up-to-date article
+ OpenBrowserCommand = ReactiveCommand.CreateFromTask(async () =>
+ await IoHelpers.OpenBrowserAsync("https://docs.wasabiwallet.io/using-wasabi/ColdWasabi.html#using-hardware-wallet-step-by-step"));
+
_message = "";
}
@@ -49,6 +55,8 @@ namespace WalletWasabi.Fluent.ViewModels.AddWallet.HardwareWallet
public HardwareWalletOperations HardwareWalletOperations { get; }
+ public ICommand OpenBrowserCommand { get; }
+
private void OnNoHardwareWalletFound(object? sender, EventArgs e)
{
IsBusy = false;

MODIFY
WalletWasabi.Fluent/Views/AddWallet/HardwareWallet/ConnectHardwareWalletView.axaml
WalletWasabi.Fluent/Views/AddWallet/HardwareWallet/ConnectHardwareWalletView.axaml
<Panel DockPanel.Dock="Bottom">
<TextBlock Text="{Binding Message}" HorizontalAlignment="Center" VerticalAlignment="Center" TextWrapping="Wrap" Margin="0 0 0 200"/>
<c:ProgressRing IsVisible="{Binding !ContinueButtonEnable}" IsIndeterminate="True" VerticalAlignment="Center" HorizontalAlignment="Center" Height="100" Width="100" />
- <Button Content="More information and help with Hardware Wallets" Classes="h8 plain activeHyperLink" HorizontalAlignment="Center" VerticalAlignment="Bottom" Foreground="{DynamicResource SystemAccentColor}" />
+ <Button Command="{Binding OpenBrowserCommand}" Content="More information and help with Hardware Wallets" Classes="h8 plain activeHyperLink" HorizontalAlignment="Center" VerticalAlignment="Bottom" Foreground="{DynamicResource SystemAccentColor}" />
</Panel>
</DockPanel>

hardware wallet link