Rename BitcoinAddressFound
MODIFY
WalletWasabi.Fluent/Models/WebcamQrReader.cs
WalletWasabi.Fluent/Models/WebcamQrReader.cs
@@ -101,7 +101,7 @@ namespace WalletWasabi.Fluent.Models
}
if (AddressStringParser.TryParse(qrCode, Network, out _))
{
- BitcoinAddressFound?.Invoke(this, qrCode);
+ CorrectAddressFound?.Invoke(this, qrCode);
break;
}
else
@@ -161,7 +161,7 @@ namespace WalletWasabi.Fluent.Models
public event EventHandler<WriteableBitmap>? NewImageArrived;
- public event EventHandler<string>? BitcoinAddressFound;
+ public event EventHandler<string>? CorrectAddressFound;
public event EventHandler<string>? InvalidAddressFound;

MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Send/SendViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Send/SendViewModel.cs
@@ -78,7 +78,7 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.Send
QrImage = args.EventArgs;
});
- Observable.FromEventPattern<string>(_qrReader, nameof(_qrReader.BitcoinAddressFound))
+ Observable.FromEventPattern<string>(_qrReader, nameof(_qrReader.CorrectAddressFound))
.Subscribe(async args =>
{
To = args.EventArgs;

Rename BitcoinAddressFound