Fix privacy bar showing as empty space if there's no privacy data.
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Home/Tiles/PrivacyControlTileViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Home/Tiles/PrivacyControlTileViewModel.cs
@@ -27,11 +27,10 @@ public partial class PrivacyControlTileViewModel : TileViewModel, IPrivacyRingPr
_wallet = walletVm.Wallet;
_walletVm = walletVm;
_balanceChanged = balanceChanged;
- _showPrivacyBar = showPrivacyBar;
ShowDetailsCommand = ReactiveCommand.Create(ShowDetails);
- if (_showPrivacyBar)
+ if (showPrivacyBar)
{
PrivacyBar = new PrivacyBarViewModel(_walletVm, _balanceChanged);
}

MODIFY
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/PrivacyBar/PrivacyBar.axaml
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/PrivacyBar/PrivacyBar.axaml
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:i="using:Avalonia.Xaml.Interactivity"
- xmlns:controls="clr-namespace:WalletWasabi.Fluent.Controls"
- xmlns:tiles="clr-namespace:WalletWasabi.Fluent.ViewModels.Wallets.Home.Tiles"
xmlns:behaviors="using:WalletWasabi.Fluent.Behaviors"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
- x:Class="WalletWasabi.Fluent.Views.Wallets.Home.Tiles.PrivacyBar">
+ x:Class="WalletWasabi.Fluent.Views.Wallets.Home.Tiles.PrivacyBar"
+ IsVisible="{Binding !PrivacyBar.IsEmpty^}">
<Panel x:Name="Panel" DockPanel.Dock="Bottom" Margin="0 0 0 8">
<i:Interaction.Behaviors>
<behaviors:BoundsObserverBehavior Bounds="{Binding #Panel.Bounds, Mode=OneWay}"
</i:Interaction.Behaviors>
<Button Classes="plain" Command="{Binding ShowDetailsCommand}"
- ToolTip.Tip="Show Details"
- IsVisible="{Binding !PrivacyBar.IsEmpty^}">
+ ToolTip.Tip="Show Details">
<ItemsControl Items="{Binding PrivacyBar.Items}" Height="10">
<ItemsControl.Styles>
<Style Selector="Path.private">

MODIFY
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/PrivacyControlTileView.axaml
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/PrivacyControlTileView.axaml
</StackPanel>
</StackPanel>
- <tilesView:PrivacyBar DockPanel.Dock="Bottom" Margin="0 0 0 8"
- IsVisible="{Binding ShowPrivacyBar}" />
+ <tilesView:PrivacyBar DockPanel.Dock="Bottom" Margin="0 0 0 8" />
<StackPanel VerticalAlignment="Center" Orientation="Horizontal" HorizontalAlignment="Center" Margin="0 3">

Fix privacy bar showing as empty space if there's no privacy data.