fix green shield visibility
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Send/PrivacySuggestionsFlyoutViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Send/PrivacySuggestionsFlyoutViewModel.cs
@@ -49,7 +49,7 @@ public partial class PrivacySuggestionsFlyoutViewModel : ViewModelBase
var hasChange = transaction.InnerWalletOutputs.Any(x => x.ScriptPubKey != destination.ScriptPubKey);
- if (hasChange && !isFixedAmount)
+ if (hasChange && !isFixedAmount && !info.IsPayJoin)
{
try
{

MODIFY
WalletWasabi.Fluent/Views/Wallets/Send/TransactionPreviewView.axaml
WalletWasabi.Fluent/Views/Wallets/Send/TransactionPreviewView.axaml
ToolTip.Tip="Your privacy is being protected with payjoin."
IsVisible="{Binding CurrentTransactionSummary.IsPayJoin}" />
- <Border Padding="10 0 10 10" Cursor="Hand" IsVisible="{Binding CurrentTransactionSummary.MaxPrivacy}">
+ <Border Padding="10 0 10 10" Cursor="Hand">
+ <Border.IsVisible>
+ <MultiBinding Converter="{x:Static BoolConverters.Or}">
+ <Binding Path="CurrentTransactionSummary.MaxPrivacy" />
+ <Binding Path="!PrivacySuggestions.Suggestions.Count" />
+ </MultiBinding>
+ </Border.IsVisible>
<Interaction.Behaviors>
<behaviors:ShowFlyoutOnPointerOverBehavior />
</Interaction.Behaviors>
<Binding Path="CurrentTransactionSummary.TransactionHasChange" />
<Binding Path="CurrentTransactionSummary.TransactionHasPockets" />
</MultiBinding>
- <Binding Path="CurrentTransactionSummary.IsPayJoin" Converter="{x:Static BoolConverters.Not}" />
+ <Binding Path="!!PrivacySuggestions.Suggestions.Count" />
</MultiBinding>
</Panel.IsVisible>
<Viewbox Height="20">

fix green shield visibility