Remove NumberOfPrivacyChars from all views
MODIFY
WalletWasabi.Fluent/Views/Settings/BitcoinTabSettingsView.axaml
WalletWasabi.Fluent/Views/Settings/BitcoinTabSettingsView.axaml
<DockPanel IsVisible="{Binding !StartLocalBitcoinCoreOnStartup}"
ToolTip.Tip="Wasabi will download blocks from a full node you control.">
<TextBlock Text="Bitcoin P2P Endpoint" />
- <c:PrivacyContentControl PrivacyReplacementMode="Text" VerticalAlignment="Bottom" NumberOfPrivacyChars="15" UseOpacity="False">
+ <c:PrivacyContentControl PrivacyReplacementMode="Text" VerticalAlignment="Bottom" UseOpacity="False">
<TextBox Text="{Binding BitcoinP2PEndPoint}" />
</c:PrivacyContentControl>
</DockPanel>

MODIFY
WalletWasabi.Fluent/Views/Wallets/Advanced/WalletCoins/Columns/AmountColumnView.axaml
WalletWasabi.Fluent/Views/Wallets/Advanced/WalletCoins/Columns/AmountColumnView.axaml
x:CompileBindings="True"
x:Class="WalletWasabi.Fluent.Views.Wallets.Advanced.WalletCoins.Columns.AmountColumnView">
<c:PrivacyContentControl Content="{Binding Amount}"
- NumberOfPrivacyChars="9"
VerticalAlignment="Center"
HorizontalAlignment="Center"
Margin="5 0 10 0"

MODIFY
WalletWasabi.Fluent/Views/Wallets/Advanced/WalletCoins/Columns/LabelsColumnView.axaml
WalletWasabi.Fluent/Views/Wallets/Advanced/WalletCoins/Columns/LabelsColumnView.axaml
x:DataType="walletcoins:WalletCoinViewModel"
x:CompileBindings="True"
x:Class="WalletWasabi.Fluent.Views.Wallets.Advanced.WalletCoins.Columns.LabelsColumnView">
- <c:PrivacyContentControl NumberOfPrivacyChars="15"
+ <c:PrivacyContentControl
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
VerticalContentAlignment="Center"

MODIFY
WalletWasabi.Fluent/Views/Wallets/Advanced/WalletInfoView.axaml
WalletWasabi.Fluent/Views/Wallets/Advanced/WalletInfoView.axaml
<c:PreviewItem Icon="{StaticResource key_regular}"
Label="Public External Output descriptor"
TextValue="{Binding WpkhOutputDescriptors.PublicExternal}">
- <c:PrivacyContentControl Classes="monoSpaced" Content="{Binding WpkhOutputDescriptors.PublicExternal}" ForceShow="{Binding ShowSensitiveData}" NumberOfPrivacyChars="38" />
+ <c:PrivacyContentControl Classes="monoSpaced" Content="{Binding WpkhOutputDescriptors.PublicExternal}" ForceShow="{Binding ShowSensitiveData}" />
</c:PreviewItem>
<c:PreviewItem Icon="{StaticResource key_regular}"
Label="Public Internal Output descriptor"
TextValue="{Binding WpkhOutputDescriptors.PublicInternal}">
- <c:PrivacyContentControl Classes="monoSpaced" Content="{Binding WpkhOutputDescriptors.PublicInternal}" ForceShow="{Binding ShowSensitiveData}" NumberOfPrivacyChars="38" />
+ <c:PrivacyContentControl Classes="monoSpaced" Content="{Binding WpkhOutputDescriptors.PublicInternal}" ForceShow="{Binding ShowSensitiveData}" />
</c:PreviewItem>
<c:PreviewItem Icon="{StaticResource key_regular}"
IsVisible="{Binding !!WpkhOutputDescriptors.PrivateExternal}"
PrivacyModeEnabled="{Binding !ShowSensitiveData}"
TextValue="{Binding WpkhOutputDescriptors.PrivateExternal}">
- <c:PrivacyContentControl Classes="monoSpaced" Content="{Binding WpkhOutputDescriptors.PrivateExternal}" ForceShow="{Binding ShowSensitiveData}" NumberOfPrivacyChars="38" />
+ <c:PrivacyContentControl Classes="monoSpaced" Content="{Binding WpkhOutputDescriptors.PrivateExternal}" ForceShow="{Binding ShowSensitiveData}" />
</c:PreviewItem>
<c:PreviewItem Icon="{StaticResource key_regular}"
Label="Private Internal Output descriptor"
IsVisible="{Binding !!WpkhOutputDescriptors.PrivateInternal}"
PrivacyModeEnabled="{Binding !ShowSensitiveData}"
TextValue="{Binding WpkhOutputDescriptors.PrivateInternal}">
- <c:PrivacyContentControl Classes="monoSpaced" Content="{Binding WpkhOutputDescriptors.PrivateInternal}" ForceShow="{Binding ShowSensitiveData}" NumberOfPrivacyChars="38" />
+ <c:PrivacyContentControl Classes="monoSpaced" Content="{Binding WpkhOutputDescriptors.PrivateInternal}" ForceShow="{Binding ShowSensitiveData}" />
</c:PreviewItem>
</StackPanel>
<c:PreviewItem Icon="{StaticResource key_regular}"
Label="Extended Account Public Key"
TextValue="{Binding ExtendedAccountPublicKey}">
- <c:PrivacyContentControl Classes="monoSpaced" Content="{Binding ExtendedAccountPublicKey}" ForceShow="{Binding ShowSensitiveData}" NumberOfPrivacyChars="38" />
+ <c:PrivacyContentControl Classes="monoSpaced" Content="{Binding ExtendedAccountPublicKey}" ForceShow="{Binding ShowSensitiveData}" />
</c:PreviewItem>
<Separator />
<c:PreviewItem Icon="{StaticResource key_regular}"
Label="Extended Account zpub"
TextValue="{Binding ExtendedAccountZpub}">
- <c:PrivacyContentControl Classes="monoSpaced" Content="{Binding ExtendedAccountZpub}" ForceShow="{Binding ShowSensitiveData}" NumberOfPrivacyChars="38" />
+ <c:PrivacyContentControl Classes="monoSpaced" Content="{Binding ExtendedAccountZpub}" ForceShow="{Binding ShowSensitiveData}" />
</c:PreviewItem>
</StackPanel>
</c:ContentArea>

MODIFY
WalletWasabi.Fluent/Views/Wallets/Advanced/WalletStatsView.axaml
WalletWasabi.Fluent/Views/Wallets/Advanced/WalletStatsView.axaml
<c:PreviewItem Label="Number of coins (UTXOs)"
TextValue="{Binding CoinCount}">
<c:PrivacyContentControl Classes="monoSpaced"
- NumberOfPrivacyChars="8"
+
Content="{Binding CoinCount}" />
</c:PreviewItem>
<Separator />
<c:PreviewItem Label="Unconfirmed balance"
TextValue="{Binding UnconfirmedBalance}">
- <c:PrivacyContentControl NumberOfPrivacyChars="11" Content="{Binding UnconfirmedBalance, StringFormat={}{0} BTC, Mode=OneWay}" Classes="monoSpaced" />
+ <c:PrivacyContentControl Content="{Binding UnconfirmedBalance, StringFormat={}{0} BTC, Mode=OneWay}" Classes="monoSpaced" />
</c:PreviewItem>
<Separator />
<c:PreviewItem Label="Confirmed balance"
TextValue="{Binding ConfirmedBalance}">
- <c:PrivacyContentControl NumberOfPrivacyChars="11" Content="{Binding ConfirmedBalance, StringFormat={}{0} BTC, Mode=OneWay}" Classes="monoSpaced" />
+ <c:PrivacyContentControl Content="{Binding ConfirmedBalance, StringFormat={}{0} BTC, Mode=OneWay}" Classes="monoSpaced" />
</c:PreviewItem>
<Separator />
<c:PreviewItem Label="Total balance"
TextValue="{Binding Balance}">
- <c:PrivacyContentControl NumberOfPrivacyChars="11" Content="{Binding Balance, StringFormat={}{0} BTC, Mode=OneWay}" Classes="monoSpaced" />
+ <c:PrivacyContentControl Content="{Binding Balance, StringFormat={}{0} BTC, Mode=OneWay}" Classes="monoSpaced" />
</c:PreviewItem>
<Separator />
<c:PreviewItem Label="Total number of transactions"
TextValue="{Binding TotalTransactionCount}">
- <c:PrivacyContentControl NumberOfPrivacyChars="11" Content="{Binding TotalTransactionCount, Mode=OneWay}" Classes="monoSpaced" />
+ <c:PrivacyContentControl Content="{Binding TotalTransactionCount, Mode=OneWay}" Classes="monoSpaced" />
</c:PreviewItem>
<Separator />
<c:PreviewItem Label="Number of non-coinjoin transactions"
TextValue="{Binding NonCoinjointransactionCount}">
- <c:PrivacyContentControl NumberOfPrivacyChars="11" Content="{Binding NonCoinjointransactionCount, Mode=OneWay}" Classes="monoSpaced" />
+ <c:PrivacyContentControl Content="{Binding NonCoinjointransactionCount, Mode=OneWay}" Classes="monoSpaced" />
</c:PreviewItem>
<Separator />
<c:PreviewItem Label="Number of coinjoin transactions"
TextValue="{Binding CoinjoinTransactionCount}">
- <c:PrivacyContentControl NumberOfPrivacyChars="11" Content="{Binding CoinjoinTransactionCount, Mode=OneWay}" Classes="monoSpaced" />
+ <c:PrivacyContentControl Content="{Binding CoinjoinTransactionCount, Mode=OneWay}" Classes="monoSpaced" />
</c:PreviewItem>
<Separator />
<c:PreviewItem Label="Number of addresses"
TextValue="{Binding GeneratedKeyCount}">
<c:PrivacyContentControl Classes="monoSpaced"
- NumberOfPrivacyChars="8"
+
Content="{Binding GeneratedKeyCount}" />
</c:PreviewItem>
<Separator />
<c:PreviewItem Label="Number of clean addresses"
TextValue="{Binding GeneratedCleanKeyCount}">
<c:PrivacyContentControl Classes="monoSpaced"
- NumberOfPrivacyChars="8"
+
Content="{Binding GeneratedCleanKeyCount}" />
</c:PreviewItem>
<Separator />
<c:PreviewItem Label="Number of locked addresses"
TextValue="{Binding GeneratedLockedKeyCount}">
<c:PrivacyContentControl Classes="monoSpaced"
- NumberOfPrivacyChars="8"
+
Content="{Binding GeneratedLockedKeyCount}" />
</c:PreviewItem>
<Separator />
<c:PreviewItem Label="Number of used addresses"
TextValue="{Binding GeneratedUsedKeyCount}">
<c:PrivacyContentControl Classes="monoSpaced"
- NumberOfPrivacyChars="8"
+
Content="{Binding GeneratedUsedKeyCount}" />
</c:PreviewItem>
<c:PreviewItem Label="Largest receive key gap"
TextValue="{Binding LargestExternalKeyGap}">
<c:PrivacyContentControl Classes="monoSpaced"
- NumberOfPrivacyChars="8"
+
Content="{Binding LargestExternalKeyGap}" />
</c:PreviewItem>
<Separator />
<c:PreviewItem Label="Largest change key gap"
TextValue="{Binding LargestInternalKeyGap}">
<c:PrivacyContentControl Classes="monoSpaced"
- NumberOfPrivacyChars="8"
+
Content="{Binding LargestInternalKeyGap}" />
</c:PreviewItem>
</StackPanel>

MODIFY
WalletWasabi.Fluent/Views/Wallets/Home/History/Columns/LabelsColumnView.axaml
WalletWasabi.Fluent/Views/Wallets/Home/History/Columns/LabelsColumnView.axaml
x:Class="WalletWasabi.Fluent.Views.Wallets.Home.History.Columns.LabelsColumnView"
x:DataType="historyItems:HistoryItemViewModelBase"
x:CompileBindings="True">
- <c:PrivacyContentControl PrivacyReplacementMode="Text" NumberOfPrivacyChars="15" FontSize="15"
+ <c:PrivacyContentControl PrivacyReplacementMode="Text" FontSize="15"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
HorizontalContentAlignment="Left"

MODIFY
WalletWasabi.Fluent/Views/Wallets/Home/History/Details/CoinJoinDetailsView.axaml
WalletWasabi.Fluent/Views/Wallets/Home/History/Details/CoinJoinDetailsView.axaml
<c:PreviewItem Icon="{StaticResource transaction_id}"
Label="Transaction ID">
<c:PreviewItem DataContext="{Binding TransactionId}" TextValue="{Binding }">
- <c:PrivacyContentControl NumberOfPrivacyChars="48">
+ <c:PrivacyContentControl>
<TextBlock Text="{Binding }" Classes="monoSpaced" />
</c:PrivacyContentControl>
</c:PreviewItem>

MODIFY
WalletWasabi.Fluent/Views/Wallets/Home/History/Details/CoinJoinsDetailsView.axaml
WalletWasabi.Fluent/Views/Wallets/Home/History/Details/CoinJoinsDetailsView.axaml
<ItemsRepeater.ItemTemplate>
<DataTemplate>
<c:PreviewItem TextValue="{Binding }">
- <c:PrivacyContentControl NumberOfPrivacyChars="48">
+ <c:PrivacyContentControl>
<TextBlock Text="{Binding }" Classes="monoSpaced" />
</c:PrivacyContentControl>
</c:PreviewItem>

MODIFY
WalletWasabi.Fluent/Views/Wallets/Home/History/Details/TransactionDetailsView.axaml
WalletWasabi.Fluent/Views/Wallets/Home/History/Details/TransactionDetailsView.axaml
<c:PreviewItem Icon="{StaticResource btc_logo}"
Label="Amount"
TextValue="{Binding Amount}">
- <c:PrivacyContentControl NumberOfPrivacyChars="9">
+ <c:PrivacyContentControl>
<TextBlock Text="{Binding Amount, StringFormat={}{0} BTC, Mode=OneWay}" Classes="monoSpaced" />
</c:PrivacyContentControl>
</c:PreviewItem>
<c:PreviewItem Icon="{StaticResource transaction_id}"
Label="Transaction ID"
TextValue="{Binding TransactionId}">
- <c:PrivacyContentControl NumberOfPrivacyChars="48">
+ <c:PrivacyContentControl>
<TextBlock Text="{Binding TransactionId}" Classes="monoSpaced" />
</c:PrivacyContentControl>
</c:PreviewItem>
<c:PreviewItem Icon="{StaticResource entities_regular}"
Label="Labels"
TextValue="{Binding Labels}">
- <c:PrivacyContentControl NumberOfPrivacyChars="20" VerticalContentAlignment="Center">
+ <c:PrivacyContentControl VerticalContentAlignment="Center">
<c:LabelsItemsPresenter Items="{Binding Labels}" />
</c:PrivacyContentControl>
</c:PreviewItem>

MODIFY
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/PrivacyControlTileView.axaml
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/PrivacyControlTileView.axaml
x:CompileBindings="True" x:DataType="vms:PrivacyControlTileViewModel"
x:Class="WalletWasabi.Fluent.Views.Wallets.Home.Tiles.PrivacyControlTileView">
-
<c:TileControl Title="PRIVACY PROGRESS" IsBottomContentVisible="{Binding HasPrivateBalance}">
<DockPanel>
<TextBlock
Text="PRIVATE" Classes="bold" Margin="4 2" VerticalAlignment="Center" HorizontalAlignment="Center" />
</Border>
- <c:PrivacyContentControl Classes="bold" NumberOfPrivacyChars="9"
+ <c:PrivacyContentControl Classes="bold"
VerticalAlignment="Center"
Content="{Binding BalancePrivateBtc}" />
</StackPanel>
</c:TileControl.BottomContent>
</c:TileControl>
-
</UserControl>

MODIFY
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/PrivacyRing/PrivacyRingDetailsView.axaml
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/PrivacyRing/PrivacyRingDetailsView.axaml
<TextBlock
Text="PRIVATE" Classes="bold" Margin="4 2 " VerticalAlignment="Center" HorizontalAlignment="Center" />
</Border>
- <controls:PrivacyContentControl Classes="bold" NumberOfPrivacyChars="9"
+ <controls:PrivacyContentControl Classes="bold"
VerticalAlignment="Center" HorizontalAlignment="Center"
Content="{Binding BalancePrivateBtc}" />
</StackPanel>

MODIFY
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/WalletBalanceTileView.axaml
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/WalletBalanceTileView.axaml
<c:TileControl Title="BALANCE" IsBottomContentVisible="{Binding HasBalance^}" SeparatorMargin="0 0 0 6">
<Viewbox Margin="0 3" VerticalAlignment="Center" MaxHeight="40">
- <c:PrivacyContentControl NumberOfPrivacyChars="16" Classes="h2 monoSpaced" HorizontalContentAlignment="Center"
+ <c:PrivacyContentControl Classes="h2 monoSpaced" HorizontalContentAlignment="Center"
Content="{Binding BalanceBtc^}" />
</Viewbox>
<c:TileControl.BottomContent>
- <c:PrivacyContentControl Classes="bold monoSpaced" NumberOfPrivacyChars="9" Margin="4" VerticalAlignment="Center"
+ <c:PrivacyContentControl Classes="bold monoSpaced" Margin="4" VerticalAlignment="Center"
HorizontalAlignment="Center" Opacity="0.8"
Content="{Binding BalanceFiat^, Converter={x:Static converters:MoneyConverters.ToUsdAproxBetweenParens}}" />
</c:TileControl.BottomContent>

MODIFY
WalletWasabi.Fluent/Views/Wallets/Receive/Columns/AddressColumnView.axaml
WalletWasabi.Fluent/Views/Wallets/Receive/Columns/AddressColumnView.axaml
<DockPanel LastChildFill="True" Margin="10 0">
<c:PrivacyContentControl Content="{Binding Address}" VerticalAlignment="Center"
Classes="monoSpaced"
- NumberOfPrivacyChars="38"
UseOpacity="False" />
</DockPanel>
</UserControl>

MODIFY
WalletWasabi.Fluent/Views/Wallets/Receive/Columns/LabelsColumnView.axaml
WalletWasabi.Fluent/Views/Wallets/Receive/Columns/LabelsColumnView.axaml
x:CompileBindings="True"
x:Class="WalletWasabi.Fluent.Views.Wallets.Receive.Columns.LabelsColumnView">
<DockPanel LastChildFill="True" Margin="10 0 30 0">
- <c:PrivacyContentControl PrivacyReplacementMode="Text" NumberOfPrivacyChars="15"
+ <c:PrivacyContentControl PrivacyReplacementMode="Text"
VerticalAlignment="Center"
UseOpacity="False">
<DockPanel LastChildFill="False">

MODIFY
WalletWasabi.Fluent/Views/Wallets/Receive/ReceiveAddressView.axaml
WalletWasabi.Fluent/Views/Wallets/Receive/ReceiveAddressView.axaml
ClickIcon="{StaticResource copy_confirmed}"
ExecuteOnOpen="{Binding IsAutoCopyEnabled}" />
</StackPanel>
- <c:PrivacyContentControl FontSize="{StaticResource FontSizeH5}" NumberOfPrivacyChars="38">
+ <c:PrivacyContentControl FontSize="{StaticResource FontSizeH5}">
<TextBlock Classes="monoSpaced" Text="{Binding Address}" />
</c:PrivacyContentControl>
</DockPanel>
- <c:PrivacyContentControl PrivacyReplacementMode="Text" NumberOfPrivacyChars="15" HorizontalContentAlignment="Center">
+ <c:PrivacyContentControl PrivacyReplacementMode="Text" HorizontalContentAlignment="Center">
<c:LabelsItemsPresenter Items="{Binding Labels}" />
</c:PrivacyContentControl>
</StackPanel>

MODIFY
WalletWasabi.Fluent/Views/Wallets/Send/SendView.axaml
WalletWasabi.Fluent/Views/Wallets/Send/SendView.axaml
<TextBlock Text="Send" />
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Spacing="10" VerticalAlignment="Center">
<!-- Balance -->
- <c:PrivacyContentControl PrivacyReplacementMode="Text" DockPanel.Dock="Top" HorizontalAlignment="Center" NumberOfPrivacyChars="0">
+ <c:PrivacyContentControl PrivacyReplacementMode="Text" DockPanel.Dock="Top" HorizontalAlignment="Center">
<Button Focusable="False" Classes="plainHyperlink h8" Command="{Binding InsertMaxCommand}">
<TextBlock DataContext="{Binding Balance}" Opacity="0.6">
<TextBlock.Text>

Remove NumberOfPrivacyChars from all views