Undo renaming
MODIFY
WalletWasabi.Gui/Tabs/WalletManager/HardwareWallets/ConnectHardwareWalletView.xaml
WalletWasabi.Gui/Tabs/WalletManager/HardwareWallets/ConnectHardwareWalletView.xaml
</Grid>
</controls:GroupBox>
<DockPanel LastChildFill="True" Margin="20 10">
- <Button Command="{Binding ConnectCommand}" DockPanel.Dock="Right">
+ <Button Command="{Binding LoadCommand}" DockPanel.Dock="Right">
<StackPanel Orientation="Horizontal">
<controls:Spinner Height="20" Width="20" IsVisible="{Binding IsBusy}" Margin="0 0 8 0" />
- <TextBlock Text="Connect" />
+ <TextBlock Text="{Binding LoadButtonText}" />
</StackPanel>
</Button>
<Button Content="Search Hardware Wallets" Command="{Binding EnumerateHardwareWalletsCommand}" DockPanel.Dock="Right" Margin="0 0 10 0" />
<DataTemplate>
<TextBlock Text="{Binding WalletName}">
<i:Interaction.Behaviors>
- <behaviors:CommandOnDoubleClickBehavior Command="{Binding RelativeSource={RelativeSource AncestorType=ListBox}, Path=DataContext.ConnectCommand}" />
+ <behaviors:CommandOnDoubleClickBehavior Command="{Binding RelativeSource={RelativeSource AncestorType=ListBox}, Path=DataContext.LoadCommand}" />
</i:Interaction.Behaviors>
</TextBlock>
</DataTemplate>

MODIFY
WalletWasabi.Gui/Tabs/WalletManager/HardwareWallets/ConnectHardwareWalletViewModel.cs
WalletWasabi.Gui/Tabs/WalletManager/HardwareWallets/ConnectHardwareWalletViewModel.cs
@@ -23,9 +23,6 @@ namespace WalletWasabi.Gui.Tabs.WalletManager.HardwareWallets
{
internal ConnectHardwareWalletViewModel(WalletManagerViewModel owner) : base(owner, LoadWalletType.Hardware)
{
- ConnectCommand = LoadCommand;
}
-
- public ReactiveCommand<Unit, Unit> ConnectCommand { get; }
}
}

Undo renaming