Remove checks from here
MODIFY
WalletWasabi.Fluent/ViewModels/WalletManagerViewModel.cs
WalletWasabi.Fluent/ViewModels/WalletManagerViewModel.cs
@@ -101,16 +101,10 @@ namespace WalletWasabi.Fluent.ViewModels
private void OpenClosedWallet(WalletManager walletManager, UiConfig uiConfig, ClosedWalletViewModel closedWalletViewModel)
{
- var select = SelectedWallet == closedWalletViewModel;
-
RemoveWallet(closedWalletViewModel);
var walletViewModelItem = OpenWallet(walletManager, uiConfig, closedWalletViewModel.Wallet);
- if (select)
- {
- if (walletViewModelItem.IsLoggedIn)
- {
if (!_walletActionsDictionary.TryGetValue(walletViewModelItem, out var actions))
{
actions = GetWalletActions(walletViewModelItem);
@@ -118,11 +112,9 @@ namespace WalletWasabi.Fluent.ViewModels
}
InsertActions(walletViewModelItem, actions);
- }
SelectedWallet = walletViewModelItem;
}
- }
private WalletViewModelBase OpenWallet(WalletManager walletManager, UiConfig uiConfig, Wallet wallet)
{

Remove checks from here