Set EnableCancelOnPressed default to true
MODIFY
WalletWasabi.Fluent/ViewModels/Navigation/RoutableViewModel.cs
WalletWasabi.Fluent/ViewModels/Navigation/RoutableViewModel.cs
@@ -12,7 +12,7 @@ namespace WalletWasabi.Fluent.ViewModels.Navigation
public abstract partial class RoutableViewModel : ViewModelBase, INavigatable
{
[AutoNotify] private bool _isBusy;
- [AutoNotify] private bool _enableCancelOnPressed;
+ [AutoNotify] private bool _enableCancelOnPressed = true;
[AutoNotify] private bool _enableCancelOnEscape = true;
[AutoNotify] private bool _enableBack;
[AutoNotify] private bool _enableCancel;

MODIFY
WalletWasabi.Fluent/Views/MainView.axaml
WalletWasabi.Fluent/Views/MainView.axaml
IsBusy="{Binding CurrentPage.IsBusy, FallbackValue=False}"
IsBackEnabled="{Binding CurrentPage.EnableBack, FallbackValue=False}"
IsCancelEnabled="{Binding CurrentPage.EnableCancel, FallbackValue=False}"
- EnableCancelOnPressed="{Binding CurrentPage.EnableCancelOnPressed, FallbackValue=False}"
+ EnableCancelOnPressed="{Binding CurrentPage.EnableCancelOnPressed, FallbackValue=True}"
EnableCancelOnEscape="{Binding CurrentPage.EnableCancelOnEscape, FallbackValue=True}"
IsEnabled="{Binding $parent.DataContext.IsFullScreenEnabled}"
HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch"
IsBusy="{Binding CurrentPage.IsBusy, FallbackValue=False}"
IsBackEnabled="{Binding CurrentPage.EnableBack, FallbackValue=False}"
IsCancelEnabled="{Binding CurrentPage.EnableCancel, FallbackValue=False}"
- EnableCancelOnPressed="{Binding CurrentPage.EnableCancelOnPressed, FallbackValue=False}"
+ EnableCancelOnPressed="{Binding CurrentPage.EnableCancelOnPressed, FallbackValue=True}"
EnableCancelOnEscape="{Binding CurrentPage.EnableCancelOnEscape, FallbackValue=True}"
IsEnabled="{Binding $parent.DataContext.IsDialogScreenEnabled}"
HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
IsBusy="{Binding CurrentPage.IsBusy, FallbackValue=False}"
IsBackEnabled="{Binding CurrentPage.EnableBack, FallbackValue=False}"
IsCancelEnabled="{Binding CurrentPage.EnableCancel, FallbackValue=False}"
- EnableCancelOnPressed="{Binding CurrentPage.EnableCancelOnPressed, FallbackValue=False}"
+ EnableCancelOnPressed="{Binding CurrentPage.EnableCancelOnPressed, FallbackValue=True}"
EnableCancelOnEscape="{Binding CurrentPage.EnableCancelOnEscape, FallbackValue=True}"
IsEnabled="{Binding $parent.DataContext.IsDialogScreenEnabled}"
HorizontalAlignment="Stretch" VerticalAlignment="Stretch">

Set EnableCancelOnPressed default to true