Update WalletWasabi.Fluent/Behaviors/TextBoxSelectAllTextBehavior.cs
MODIFY
WalletWasabi.Fluent/Behaviors/TextBoxSelectAllTextBehavior.cs
WalletWasabi.Fluent/Behaviors/TextBoxSelectAllTextBehavior.cs
@@ -7,9 +7,6 @@ internal class TextBoxSelectAllTextBehavior : AttachedToVisualTreeBehavior<TextB
{
protected override void OnAttachedToVisualTree(CompositeDisposable disposable)
{
- if (AssociatedObject is { })
- {
- AssociatedObject.SelectAll();
- }
+ AssociatedObject?.SelectAll();
}
}

Update WalletWasabi.Fluent/Behaviors/TextBoxSelectAllTextBehavior.cs

Co-authored-by: yahiheb <52379387+yahiheb@users.noreply.github.com>