Remove nasty logic
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/BuildTabViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/BuildTabViewModel.cs
@@ -23,12 +23,8 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
{
try
{
- var txviewer = IoC.Get<IShell>().Documents?.OfType<TransactionViewerViewModel>()?.FirstOrDefault();
- if (txviewer is null)
- {
- txviewer = new TransactionViewerViewModel(Wallet);
+ var txviewer = new TransactionViewerViewModel(Wallet);
IoC.Get<IShell>().AddDocument(txviewer);
- }
IoC.Get<IShell>().Select(txviewer);
txviewer.Update(result);

Remove nasty logic