payjoin indicator.
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Send/SendViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Send/SendViewModel.cs
@@ -32,6 +32,7 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.Send
[AutoNotify] private decimal _exchangeRate;
[AutoNotify] private bool _isFixedAmount;
[AutoNotify] private ObservableCollection<string> _labels;
+ [AutoNotify] private bool _isPayJoin;
private string? _payJoinEndPoint;
private bool _parsingUrl;
@@ -135,8 +136,11 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.Send
else
{
IsFixedAmount = false;
+ _payJoinEndPoint = null;
}
+ IsPayJoin = _payJoinEndPoint is { };
+
return result;
}

MODIFY
WalletWasabi.Fluent/Views/Wallets/Send/SendView.axaml
WalletWasabi.Fluent/Views/Wallets/Send/SendView.axaml
<TextBox x:Name="toTb" MaxLength="250" Text="{Binding To, Mode=TwoWay}"
Watermark="(e.g. Bitcoin address or PayJoin URL)">
<TextBox.InnerRightContent>
+ <StackPanel Orientation="Horizontal" VerticalAlignment="Center" Spacing="10" Margin="10 0">
+ <c:TagControl IsVisible="{Binding IsPayJoin}" Content="PJ" Padding="0" Margin="0" Opacity="0.5" DockPanel.Dock="Left" />
<Button Classes="plain"
Command="{Binding PasteCommand}"
ToolTip.Tip="Paste">
<PathIcon Data="{StaticResource paste_regular}" Width="13" />
</Button>
+ </StackPanel>
</TextBox.InnerRightContent>
</TextBox>
</DockPanel>

payjoin indicator.