add privacy mode for piechart
MODIFY
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/WalletPieChart/WalletPieChartLargeTileView.axaml
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/WalletPieChart/WalletPieChartLargeTileView.axaml
<Ellipse DockPanel.Dock="Left" Margin="0,0,8,0" HorizontalAlignment="Left" Width="10"
Height="10"
Fill="{Binding HexColor, Converter={x:Static converters:ColorStringConverters.HexColorToBrush}}" />
- <TextBlock DockPanel.Dock="Left" HorizontalAlignment="Left"
- Text="{Binding Amount, Converter={x:Static converters:MoneyConverters.ToFormattedString}}" />
+ <controls:PrivacyTextControl DockPanel.Dock="Left" HorizontalAlignment="Left"
+ Text="{Binding Amount, Converter={x:Static converters:MoneyConverters.ToFormattedString}}"
+ NumberOfPrivacyChars="9"/>
</DockPanel>
<DockPanel Grid.Column="1" Margin="0,8" Opacity="0.5">
- <TextBlock DockPanel.Dock="Right" Margin="8,0,0,0" HorizontalAlignment="Right"
+ <controls:PrivacyTextControl DockPanel.Dock="Right" Margin="8,0,0,0" HorizontalAlignment="Right"
Text="{Binding PercentShare, StringFormat=\{0:P1\}}" />
<TextBlock DockPanel.Dock="Right" HorizontalAlignment="Right" Text="{Binding Label}" />
</DockPanel>

MODIFY
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/WalletPieChart/WalletPieChartMediumTileView.axaml
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/WalletPieChart/WalletPieChartMediumTileView.axaml
<TextBlock Margin="0,0,8,0" FontSize="12"
DockPanel.Dock="Left" HorizontalAlignment="Left"
Text="{Binding Label}" />
- <TextBlock DockPanel.Dock="Left" HorizontalAlignment="Left" FontSize="12"
+ <controls:PrivacyTextControl DockPanel.Dock="Left" HorizontalAlignment="Left" FontSize="12"
Text="{Binding PercentShare, StringFormat=\{0:P1\}}" />
</DockPanel>
</DataTemplate>

add privacy mode for piechart