fix privacy icon for type in history
MODIFY
WalletWasabi.Fluent/Controls/PrivacyContentControl.axaml
WalletWasabi.Fluent/Controls/PrivacyContentControl.axaml
<Panel Name="PART_PrivacyReplacement"
Opacity="{TemplateBinding PrivacyModeEnabled, Converter={x:Static conv:BoolOpacityConverters.BoolToOpacity}}"
IsVisible="{Binding $self.Opacity, Converter={x:Static conv:BoolOpacityConverters.OpacityToBool}}">
- <Viewbox Margin="25" Name="PART_Icon">
+ <Viewbox Name="PART_Icon">
<PathIcon Data="{StaticResource incognito_regular}" Opacity="0.15" />
</Viewbox>
<TextBlock Name="PART_PrivacyText"
</Setter>
</Style>
+ <Style Selector="controls|PrivacyContentControl /template/ Viewbox#PART_Icon">
+ <Setter Property="Margin" Value="25" />
+ </Style>
+
<Style Selector="controls|PrivacyContentControl /template/ Panel#PART_PrivacyReplacement">
<Setter Property="Transitions">
<Transitions>

MODIFY
WalletWasabi.Fluent/Views/Wallets/Home/History/HistoryTable.axaml
WalletWasabi.Fluent/Views/Wallets/Home/History/HistoryTable.axaml
</Style>
<Style Selector="DataGridRow">
<Setter Property="Focusable" Value="False" />
+ <Setter Property="Height" Value="36" />
<Setter Property="Template">
<ControlTemplate>
<DockPanel LastChildFill="True">
SortMemberPath="IsCoinJoin">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
+ <c:PrivacyContentControl PrivacyReplacementMode="Icon">
+ <c:PrivacyContentControl.Styles>
+ <Style Selector="c|PrivacyContentControl /template/ Viewbox#PART_Icon">
+ <Setter Property="Height" Value="18" />
+ <Setter Property="Margin" Value="0" />
+ </Style>
+ </c:PrivacyContentControl.Styles>
<Panel x:DataType="history:HistoryItemViewModel">
<PathIcon ToolTip.Tip="Transaction" Data="{StaticResource normal_transaction}" Opacity="0.6"
IsVisible="{Binding !IsCoinJoin}" />
<PathIcon ToolTip.Tip="CoinJoin" Data="{StaticResource shield_regular}" Height="15" Opacity="0.6"
IsVisible="{Binding IsCoinJoin}" />
</Panel>
+ </c:PrivacyContentControl>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>

fix privacy icon for type in history