fix event not firing for current address.
MODIFY
WalletWasabi.Fluent/Behaviors/PasteButtonFlashBehavior.cs
WalletWasabi.Fluent/Behaviors/PasteButtonFlashBehavior.cs
@@ -18,7 +18,7 @@ namespace WalletWasabi.Fluent.Behaviors
AvaloniaProperty.Register<PasteButtonFlashBehavior, string>(nameof(FlashAnimation));
public static readonly StyledProperty<string> CurrentAddressProperty =
- AvaloniaProperty.Register<PasteButtonFlashBehavior, string>(nameof(FlashAnimation));
+ AvaloniaProperty.Register<PasteButtonFlashBehavior, string>(nameof(CurrentAddress));
public string FlashAnimation
{
@@ -53,10 +53,6 @@ namespace WalletWasabi.Fluent.Behaviors
.Where(x => x)
.Subscribe(_ => AssociatedObject.Classes.Remove(FlashAnimation))
.DisposeWith(disposables);
-
- this.WhenAnyValue(x => x.CurrentAddress)
- .Subscribe(async _ => await CheckClipboardForValidAddressAsync())
- .DisposeWith(disposables);
}
private async Task CheckClipboardForValidAddressAsync()

fix event not firing for current address.