PrivacyBar and PrivacyRing render threshold
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Home/Tiles/PrivacyRing/PrivacyBarViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Home/Tiles/PrivacyRing/PrivacyBarViewModel.cs
@@ -54,7 +54,6 @@ public partial class PrivacyBarViewModel : ViewModelBase
_itemsSourceList.Edit(list => CreateSegments(list, pockets));
}
- [SuppressMessage("Reliability", "CA2000:Dispose objects before losing scope", Justification = "items are disposed of together with _itemsSourceList.")]
private void CreateSegments(IExtendedList<PrivacyBarItemViewModel> list, IEnumerable<Pocket> pockets)
{
list.Clear();

MODIFY
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/PrivacyRing/PrivacyRingView.axaml
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/PrivacyRing/PrivacyRingView.axaml
<DataTemplate DataType="{x:Type ring:PrivacyRingItemViewModel}">
<c:TileControl TileSize="Medium" Width="300" Height="150">
<DockPanel>
- <c:LabelsItemsPresenter Items="{Binding SmartLabel}" DockPanel.Dock="Top" HorizontalAlignment="Center" />
+ <c:LabelsItemsPresenter Items="{Binding Coin.SmartLabel}" DockPanel.Dock="Top" HorizontalAlignment="Center" />
<StackPanel DockPanel.Dock="Bottom" Height="25" Spacing="8">
<Separator />
<StackPanel Orientation="Horizontal" Spacing="10" HorizontalAlignment="Center">
Text="PRIVATE" Classes="bold" Margin="4 2 " VerticalAlignment="Center" HorizontalAlignment="Center" />
</Border>
</StackPanel>
- <TextBlock Text="{Binding AnonymitySet, StringFormat='Anonymity Score: {0}'}" Classes="h8" VerticalAlignment="Center" HorizontalAlignment="Center" />
+ <TextBlock Text="{Binding Coin.AnonymitySet, StringFormat='Anonymity Score: {0}'}" Classes="h8" VerticalAlignment="Center" HorizontalAlignment="Center" />
</StackPanel>
</StackPanel>
TextAlignment="Center"
Text="{Binding AmountText}" Classes="h3" />
- <TextBlock Text="{Binding Confirmations, StringFormat='Confirmations: {0}'}" Classes="h8" VerticalAlignment="Center" HorizontalAlignment="Center" />
+ <TextBlock Text="{Binding Coin.Confirmations, StringFormat='Confirmations: {0}'}" Classes="h8" VerticalAlignment="Center" HorizontalAlignment="Center" />
</StackPanel>
</DockPanel>
</c:TileControl>

PrivacyBar and PrivacyRing render threshold