Add Cancel command
MODIFY
WalletWasabi.Fluent/ViewModels/AddWallet/ConfirmRecoveryWordsViewModel.cs
WalletWasabi.Fluent/ViewModels/AddWallet/ConfirmRecoveryWordsViewModel.cs
@@ -38,6 +38,8 @@ namespace WalletWasabi.Fluent.ViewModels.AddWallet
},
finishCommandCanExecute);
+ CancelCommand = ReactiveCommand.Create(() => navigationState.DialogScreen?.Invoke().Router.NavigationStack.Clear());
+
_confirmationWordsSourceList
.Connect()
.ObserveOn(RxApp.MainThreadScheduler)
@@ -53,6 +55,8 @@ namespace WalletWasabi.Fluent.ViewModels.AddWallet
public ICommand FinishCommand { get; }
+ public ICommand CancelCommand { get; }
+
private void SelectRandomConfirmationWords(List<RecoveryWordViewModel> mnemonicWords)
{
var random = new Random();

Add Cancel command