[skip ci] Hide CoinJoin status when appropriate
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/CoinJoinTabViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/CoinJoinTabViewModel.cs
@@ -158,12 +158,7 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
{
WarningMessage = "";
- var selectedCoins = CoinsList.Coins.Where(c => c.IsSelected).ToList();
-
- foreach (var coin in selectedCoins)
- {
- coin.IsSelected = false;
- }
+ var selectedCoins = CoinsList.Coins.Where(c => c.IsSelected);
try
{

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/CoinListView.xaml
WalletWasabi.Gui/Controls/WalletExplorer/CoinListView.xaml
<behaviors:ClearPropertyOnLostFocusBehavior TargetProperty="{Binding SelectedCoin}" />
</i:Interaction.Behaviors>
<DockPanel LastChildFill="True">
- <Grid ColumnDefinitions="30,30,180,120,100,Auto" Margin="30 0" DockPanel.Dock="Top">
+ <Grid Margin="30 0" DockPanel.Dock="Top">
+ <Grid.ColumnDefinitions>
+ <ColumnDefinition Width="30" />
+ <ColumnDefinition Width="30" />
+ <ColumnDefinition Width="{Binding CoinJoinStatusWidth, Mode=OneWay}" />
+ <ColumnDefinition Width="120" />
+ <ColumnDefinition Width="100" />
+ <ColumnDefinition Width="Auto" />
+ </Grid.ColumnDefinitions>
<TextBlock Text="" Width="0" />
<TextBlock Text="" Grid.Column="1" />
- <TextBlock Text="CoinJoin Status" Grid.Column="2" Margin="10 0 0 0" />
+ <TextBlock Text="" Grid.Column="2" Margin="10 0 0 0" />
<TextBlock Text="Amount (BTC)" Grid.Column="3" Margin="10 0 0 0" />
<TextBlock Text="Privacy" Grid.Column="4" Margin="20 0 0 0" />
<TextBlock Text="History" Grid.Column="5" />
</StackPanel>
</Expander>
- <Grid ColumnDefinitions="30,30,180,113,100,Auto" Margin="30 0 0 0" VerticalAlignment="Top">
+ <Grid Margin="30 0 0 0" VerticalAlignment="Top">
+ <Grid.ColumnDefinitions>
+ <ColumnDefinition Width="30" />
+ <ColumnDefinition Width="30" />
+ <ColumnDefinition Width="{Binding CoinJoinStatusWidth, Mode=OneWay}" />
+ <ColumnDefinition Width="113" />
+ <ColumnDefinition Width="100" />
+ <ColumnDefinition Width="Auto" />
+ </Grid.ColumnDefinitions>
+
<CheckBox HorizontalContentAlignment="Left" IsChecked="{Binding IsSelected}" Background="{DynamicResource ThemeBackgroundBrush}" />
<Border Background="Transparent" IsVisible="{Binding Confirmed}" Grid.Column="1" ToolTip.Tip="Confirmed">
<Path HorizontalAlignment="Left" Data="F1 M 23.7501,33.25L 34.8334,44.3333L 52.2499,22.1668L 56.9999,26.9168L 34.8334,53.8333L 19.0001,38L 23.7501,33.25 Z" Fill="#22B14C" Height="16" Width="16" Stretch="Fill" />

[skip ci] Hide CoinJoin status when appropriate