fix visibility of shield icons
MODIFY
WalletWasabi.Fluent/Views/Wallets/Send/TransactionPreviewView.axaml
WalletWasabi.Fluent/Views/Wallets/Send/TransactionPreviewView.axaml
</Viewbox>
</Button>
- <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>
+ <Border Padding="10 0 10 10" Cursor="Hand" IsVisible="{Binding CurrentTransactionSummary.MaxPrivacy}">
<Interaction.Behaviors>
<behaviors:ShowFlyoutOnPointerOverBehavior />
</Interaction.Behaviors>
</Viewbox>
</Border>
- <Border Cursor="Hand" Padding="10 0 10 10">
+ <Border Cursor="Hand" Padding="10 0 10 10" IsVisible="{Binding !!PrivacySuggestions.Suggestions.Count}">
<Border.Styles>
<Style Selector="FlyoutPresenter">
<Setter Property="MaxWidth" Value="1000" />
</Panel>
</Flyout>
</FlyoutBase.AttachedFlyout>
- <Panel.IsVisible>
- <MultiBinding Converter="{x:Static BoolConverters.And}">
- <MultiBinding Converter="{x:Static BoolConverters.Or}">
- <Binding Path="CurrentTransactionSummary.TransactionHasChange" />
- <Binding Path="CurrentTransactionSummary.TransactionHasPockets" />
- </MultiBinding>
- <Binding Path="!!PrivacySuggestions.Suggestions.Count" />
- </MultiBinding>
- </Panel.IsVisible>
<Viewbox Height="20">
<PathIcon Data="{StaticResource shield_regular}" Foreground="{DynamicResource WarningMessageForeground}" />
</Viewbox>

fix visibility of shield icons