add wallets when wallet added is called.
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/WalletExplorerViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/WalletExplorerViewModel.cs
@@ -55,6 +55,13 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
}
});
+ Observable.FromEventPattern<Wallet>(WalletManager, nameof(WalletManager.WalletAdded))
+ .ObserveOn(RxApp.MainThreadScheduler)
+ .Subscribe(x =>
+ {
+ Wallets.InsertSorted(new ClosedWalletViewModel(x.EventArgs));
+ });
+
var shell = IoC.Get<IShell>();
shell.WhenAnyValue(x => x.SelectedDocument)

add wallets when wallet added is called.