fix sendtab.
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/WalletViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/WalletViewModel.cs
@@ -59,18 +59,17 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
})
.DisposeWith(Disposables);
- SendTabViewModel sendTab = null;
// If hardware wallet then we need the Send tab.
if (Wallet.KeyManager.IsHardwareWallet is true)
{
- sendTab = new SendTabViewModel(Wallet);
- Actions.Add(sendTab);
+ SendTab = new SendTabViewModel(Wallet);
+ Actions.Add(SendTab);
}
// If not hardware wallet, but neither watch only then we also need the send tab.
else if (Wallet.KeyManager.IsWatchOnly is false)
{
- sendTab = new SendTabViewModel(Wallet);
- Actions.Add(sendTab);
+ SendTab = new SendTabViewModel(Wallet);
+ Actions.Add(SendTab);
}
ReceiveTab = new ReceiveTabViewModel(Wallet);

fix sendtab.