allow multi wallet loading on load wallet screen.
MODIFY
WalletWasabi.Gui/Tabs/WalletManager/LoadWallets/LoadWalletViewModel.cs
WalletWasabi.Gui/Tabs/WalletManager/LoadWallets/LoadWalletViewModel.cs
@@ -8,6 +8,7 @@ using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Reactive;
+using System.Reactive.Concurrency;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Threading;
@@ -70,7 +71,13 @@ namespace WalletWasabi.Gui.Tabs.WalletManager.LoadWallets
.ObserveOn(RxApp.MainThreadScheduler)
.Subscribe(x => SelectedWallet = x);
- LoadCommand = ReactiveCommand.CreateFromTask(LoadWalletAsync, this.WhenAnyValue(x => x.SelectedWallet, x => x?.WalletState).Select(x => x == WalletState.Uninitialized));
+ LoadCommand = ReactiveCommand.Create(()=>
+ {
+ RxApp.MainThreadScheduler.Schedule(async () =>
+ {
+ await LoadWalletAsync();
+ });
+ }, this.WhenAnyValue(x => x.SelectedWallet, x => x?.WalletState).Select(x => x == WalletState.Uninitialized));
TestPasswordCommand = ReactiveCommand.Create(LoadKeyManager, this.WhenAnyValue(x => x.SelectedWallet).Select(x => x is { }));
OpenFolderCommand = ReactiveCommand.Create(OpenWalletsFolder);

allow multi wallet loading on load wallet screen.