Fix Add Wallet's Cancel button not closing the dialog
MODIFY
WalletWasabi.Fluent/ViewModels/Dialogs/Base/DialogViewModelBaseOfTResult.cs
WalletWasabi.Fluent/ViewModels/Dialogs/Base/DialogViewModelBaseOfTResult.cs
@@ -26,7 +26,11 @@ public abstract class DialogViewModelBase<TResult> : DialogViewModelBase
BackCommand = ReactiveCommand.Create(() => Close(DialogResultKind.Back));
- CancelCommand = ReactiveCommand.Create(() => Close(DialogResultKind.Cancel));
+ CancelCommand = ReactiveCommand.Create(() =>
+ {
+ Close(DialogResultKind.Cancel);
+ Navigate().Clear();
+ });
}
protected override void OnNavigatedFrom(bool isInHistory)

Fix Add Wallet's Cancel button not closing the dialog