Ignore cancel exception
MODIFY
WalletWasabi.Fluent/Controls/Dialog.axaml.cs
WalletWasabi.Fluent/Controls/Dialog.axaml.cs
@@ -99,6 +99,8 @@ namespace WalletWasabi.Fluent.Controls
}
private void UpdateDelay(bool isDialogOpen)
+ {
+ try
{
_canCancelOnPointerPressed = false;
CancelPointerPressedDelay?.Cancel();
@@ -113,6 +115,11 @@ namespace WalletWasabi.Fluent.Controls
});
}
}
+ catch (OperationCanceledException)
+ {
+ // ignored
+ }
+ }
protected override void OnPropertyChanged<T>(AvaloniaPropertyChangedEventArgs<T> change)
{

Ignore cancel exception