PrivacyBar not clickable when wallet empty
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Home/Tiles/PrivacyRing/PrivacyBarViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Home/Tiles/PrivacyRing/PrivacyBarViewModel.cs
@@ -43,10 +43,14 @@ public partial class PrivacyBarViewModel : ViewModelBase
.Select(_ => walletViewModel.Wallet.GetPockets())
.ObserveOn(RxApp.MainThreadScheduler)
.Subscribe(RefreshCoinsList);
+
+ IsEmpty = this.WhenAnyValue(x => x.Items.Count).Select(count => count == 0);
}
public ObservableCollectionExtended<PrivacyBarItemViewModel> Items { get; } = new();
+ public IObservable<bool> IsEmpty { get; }
+
public Wallet Wallet { get; }
private void RefreshCoinsList(IEnumerable<Pocket> pockets)

MODIFY
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/PrivacyBar/PrivacyBar.axaml
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/PrivacyBar/PrivacyBar.axaml
</i:Interaction.Behaviors>
<Button Classes="plain" Command="{Binding ShowDetailsCommand}"
- ToolTip.Tip="Show Details">
+ ToolTip.Tip="Show Details"
+ IsVisible="{Binding !PrivacyBar.IsEmpty^}">
<ItemsControl Items="{Binding PrivacyBar.Items}" Height="10">
<ItemsControl.Styles>
<Style Selector="Path.private">

PrivacyBar not clickable when wallet empty