enable cancel if needed
MODIFY
WalletWasabi.Fluent/ViewModels/AddWallet/AddWalletPageViewModel.cs
WalletWasabi.Fluent/ViewModels/AddWallet/AddWalletPageViewModel.cs
@@ -36,6 +36,7 @@ namespace WalletWasabi.Fluent.ViewModels.AddWallet
[AutoNotify] private string _walletName = "";
[AutoNotify] private bool _optionsEnabled;
[AutoNotify] private bool _enableBack;
+ [AutoNotify] private bool _enableCancel;
private readonly LegalDocuments _legalDocuments;
@@ -132,6 +133,8 @@ namespace WalletWasabi.Fluent.ViewModels.AddWallet
{
base.OnNavigatedTo(inStack, disposable);
+ _enableCancel = CurrentTarget != NavigationTarget.HomeScreen;
+
this.RaisePropertyChanged(WalletName);
if (!inStack)

MODIFY
WalletWasabi.Fluent/Views/AddWallet/AddWalletPageView.axaml
WalletWasabi.Fluent/Views/AddWallet/AddWalletPageView.axaml
x:Class="WalletWasabi.Fluent.Views.AddWallet.AddWalletPageView">
<c:ContentArea Title="{Binding Title}" Caption="Type in your wallet's name and select an option:"
EnableBack="{Binding EnableBack}"
+ EnableCancel="{Binding EnableCancel}"
IsBusy="{Binding IsBusy}">
<DockPanel>
<StackPanel DockPanel.Dock="Top" Margin="0 0 0 20">

enable cancel if needed