Add more colums
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Advanced/WalletCoins/WalletCoinViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Advanced/WalletCoins/WalletCoinViewModel.cs
using NBitcoin;
+using ReactiveUI;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -15,13 +16,16 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.Advanced.WalletCoins
[AutoNotify] private int _anonymitySet;
[AutoNotify] private SmartLabel _smartLabel;
[AutoNotify] private bool _confirmed;
+ [AutoNotify] private bool _coinJoinInProgress;
public WalletCoinViewModel(SmartCoin coin)
{
Amount = coin.Amount;
- AnonymitySet = coin.HdPubKey.AnonymitySet;
- SmartLabel = coin.HdPubKey.Cluster.Labels;
- Confirmed = coin.Confirmed;
+
+ coin.WhenAnyValue(c => c.Confirmed).Subscribe(x => Confirmed = x);
+ coin.WhenAnyValue(c => c.HdPubKey.Cluster.Labels).Subscribe(x => SmartLabel = x);
+ coin.WhenAnyValue(c => c.HdPubKey.AnonymitySet).Subscribe(x => AnonymitySet = x);
+ coin.WhenAnyValue(c => c.CoinJoinInProgress).Subscribe(x => CoinJoinInProgress = x);
}
}
}

MODIFY
WalletWasabi.Fluent/Views/Wallets/Advanced/WalletCoins/WalletCoinsView.axaml
WalletWasabi.Fluent/Views/Wallets/Advanced/WalletCoins/WalletCoinsView.axaml
CanUserSortColumns="True">
<DataBox.Columns>
- <DataBoxTemplateColumn Width="Auto"
+ <DataBoxTemplateColumn Width="70"
CanUserSort="False"
Header="">
<DataBoxTemplateColumn.CellTemplate>
<DataTemplate>
- <Panel VerticalAlignment="Center" x:DataType="walletcoins:WalletCoinViewModel">
+ <StackPanel VerticalAlignment="Center" Orientation="Horizontal" Spacing="5" x:DataType="walletcoins:WalletCoinViewModel">
+ <Panel>
<!-- Confirmed -->
<PathIcon IsVisible="{Binding Confirmed}"
Data="{StaticResource checkmark_filled}"
Opacity="0.6"
ToolTip.Tip="Pending" />
</Panel>
+
+ <PathIcon IsVisible="{Binding CoinJoinInProgress}"
+ Data="{StaticResource link_filled}"
+ Foreground="{DynamicResource SystemAccentColor}"
+ Height="8"
+ ToolTip.Tip="CoinJoining" />
+ </StackPanel>
</DataTemplate>
</DataBoxTemplateColumn.CellTemplate>
</DataBoxTemplateColumn>
Header="Anon">
<DataBoxTemplateColumn.CellTemplate>
<DataTemplate>
- <TextBlock Text="{Binding AnonymitySet}" Margin="5 0" VerticalAlignment="Center" x:DataType="walletcoins:WalletCoinViewModel"></TextBlock>
+ <TextBlock Text="{Binding AnonymitySet}" Margin="5 0" VerticalAlignment="Center" HorizontalAlignment="Center" x:DataType="walletcoins:WalletCoinViewModel"></TextBlock>
</DataTemplate>
</DataBoxTemplateColumn.CellTemplate>
</DataBoxTemplateColumn>

Add more colums