do not flash if autopaste is enabled
MODIFY
WalletWasabi.Fluent/Behaviors/PasteButtonFlashBehavior.cs
WalletWasabi.Fluent/Behaviors/PasteButtonFlashBehavior.cs
@@ -45,6 +45,11 @@ namespace WalletWasabi.Fluent.Behaviors
private async Task CheckClipboardForValidAddressAsync()
{
+ if (Services.UiConfig.AutoPaste)
+ {
+ return;
+ }
+
var textToPaste = await Application.Current.Clipboard.GetTextAsync();
if (AddressStringParser.TryParse(textToPaste, Services.WalletManager.Network, out _))

MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Send/SendViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Send/SendViewModel.cs
@@ -136,7 +136,7 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.Send
private async Task OnAutoPasteAsync()
{
- var isAutoPasteEnabled = Services.UiConfig.Autocopy;
+ var isAutoPasteEnabled = Services.UiConfig.AutoPaste;
if (string.IsNullOrEmpty(To) && isAutoPasteEnabled)
{

MODIFY
WalletWasabi.Fluent/Views/Wallets/Send/SendView.axaml
WalletWasabi.Fluent/Views/Wallets/Send/SendView.axaml
Watermark="(e.g. Bitcoin address or PayJoin URL)">
<i:Interaction.Behaviors>
<behaviors:FocusOnAttachedBehavior />
- <!-- <behaviors:ExecuteCommandOnActivated Command="{Binding AutoPasteCommand}" /> -->
+ <behaviors:ExecuteCommandOnActivated Command="{Binding AutoPasteCommand}" />
<behaviors:FocusNextWhenValid />
</i:Interaction.Behaviors>
<TextBox.InnerRightContent>

do not flash if autopaste is enabled