Fix visibility of the bar
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Home/Tiles/PrivacyRing/PrivacyBarViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Home/Tiles/PrivacyRing/PrivacyBarViewModel.cs
@@ -65,7 +65,7 @@ public partial class PrivacyBarViewModel : ViewModelBase
var coinCount = pockets.SelectMany(x => x.Coins).Count();
- if (coinCount == 0d)
+ if (Width == 0d || coinCount == 0d)
{
return;
}

MODIFY
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/PrivacyBar/PrivacyBar.axaml
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/PrivacyBar/PrivacyBar.axaml
xmlns:tiles="clr-namespace:WalletWasabi.Fluent.ViewModels.Wallets.Home.Tiles"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="WalletWasabi.Fluent.Views.Wallets.Home.Tiles.PrivacyBar"
- x:CompileBindings="True" x:DataType="tiles:PrivacyControlTileViewModel"
- IsVisible="{Binding !PrivacyBar.IsEmpty^}">
+ x:CompileBindings="True" x:DataType="tiles:PrivacyControlTileViewModel">
<Panel x:Name="Panel">
<i:Interaction.Behaviors>
<behaviors:BoundsObserverBehavior Bounds="{Binding #Panel.Bounds, Mode=OneWay}"
</i:Interaction.Behaviors>
<Button Classes="plain" Command="{Binding ShowDetailsCommand}"
- ToolTip.Tip="Show Details">
+ Margin="0 0 0 6"
+ ToolTip.Tip="Show Details"
+ IsVisible="{Binding !PrivacyBar.IsEmpty^}">
<ItemsControl Items="{Binding PrivacyBar.Items}" Height="8">
<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 6" />
+ <tilesView:PrivacyBar DockPanel.Dock="Bottom" />
<StackPanel VerticalAlignment="Center" Orientation="Horizontal" HorizontalAlignment="Center" Margin="0 3">

Fix visibility of the bar