Remove IsSelectNonPrivateCheckBoxVisible property
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/CoinListView.xaml
WalletWasabi.Gui/Controls/WalletExplorer/CoinListView.xaml
<StackPanel Margin="0 10 0 0" Spacing="10" DockPanel.Dock="Bottom" Orientation="Horizontal">
<CheckBox Content="Select All" IsThreeState="True" IsChecked="{Binding SelectAllCheckBoxState}" Command="{Binding SelectAllCheckBoxCommand}" />
<CheckBox Content="Select All Private" IsThreeState="True" IsChecked="{Binding SelectPrivateCheckBoxState}" Command="{Binding SelectPrivateCheckBoxCommand}" ToolTip.Tip="Coins that have acquired the privacy target." />
- <CheckBox Content="Select All Non-Private" IsThreeState="True" IsChecked="{Binding SelectNonPrivateCheckBoxState}" Command="{Binding SelectNonPrivateCheckBoxCommand}" ToolTip.Tip="Coins that have not acquired the privacy target." IsVisible="{Binding IsSelectNonPrivateCheckBoxVisible, Converter={StaticResource SelectNonPrivateCheckBoxVisibilityConverter}}" />
+ <CheckBox Content="Select All Non-Private" IsThreeState="True" IsChecked="{Binding SelectNonPrivateCheckBoxState}" Command="{Binding SelectNonPrivateCheckBoxCommand}" ToolTip.Tip="Coins that have not acquired the privacy target." IsVisible="{Binding CoinListContainerType, Converter={StaticResource SelectNonPrivateCheckBoxVisibilityConverter}}" />
<StackPanel Spacing="10" DockPanel.Dock="Bottom" Orientation="Horizontal" IsVisible="{Binding IsAnyCoinSelected}">
<TextBlock Text="|" />
<TextBlock Text="Selected Amount:" />

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/CoinListViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/CoinListViewModel.cs
@@ -50,7 +50,6 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
public ReactiveCommand<Unit, Unit> SelectNonPrivateCheckBoxCommand { get; }
public ReactiveCommand<Unit, Unit> SortCommand { get; }
public ReactiveCommand<Unit, Unit> InitList { get; }
- public bool IsSelectNonPrivateCheckBoxVisible { get; }
public event EventHandler DequeueCoinsPressed;
@@ -204,7 +203,6 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
{
Global = global;
CoinListContainerType = coinListContainerType;
- IsSelectNonPrivateCheckBoxVisible = CoinListContainerType == CoinListContainerType.CoinJoinTabViewModel;
AmountSortDirection = SortOrder.Decreasing;
RefreshOrdering();

MODIFY
WalletWasabi.Gui/Converters/SelectNonPrivateCheckBoxVisibilityConverter.cs
WalletWasabi.Gui/Converters/SelectNonPrivateCheckBoxVisibilityConverter.cs
@@ -3,6 +3,7 @@ using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
+using WalletWasabi.Gui.Models;
namespace WalletWasabi.Gui.Converters
{
@@ -10,7 +11,7 @@ namespace WalletWasabi.Gui.Converters
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
- if (value is true)
+ if (value is CoinListContainerType.CoinJoinTabViewModel)
{
return true;
}

Remove IsSelectNonPrivateCheckBoxVisible property