Show BannedUntil in tooltip
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Advanced/WalletCoins/WalletCoinViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Advanced/WalletCoins/WalletCoinViewModel.cs
@@ -16,6 +16,7 @@ public partial class WalletCoinViewModel : ViewModelBase, IDisposable
[AutoNotify] private bool _confirmed;
[AutoNotify] private bool _coinJoinInProgress;
[AutoNotify] private bool _isBanned;
+ [AutoNotify] private DateTimeOffset? _bannedUntilUtc;
public WalletCoinViewModel(SmartCoin coin)
{
@@ -26,6 +27,8 @@ public partial class WalletCoinViewModel : ViewModelBase, IDisposable
coin.WhenAnyValue(c => c.HdPubKey.AnonymitySet).Subscribe(x => AnonymitySet = x).DisposeWith(_disposables);
coin.WhenAnyValue(c => c.CoinJoinInProgress).Subscribe(x => CoinJoinInProgress = x).DisposeWith(_disposables);
coin.WhenAnyValue(c => c.IsBanned).Subscribe(x => IsBanned = x).DisposeWith(_disposables);
+ coin.WhenAnyValue(c => c.BannedUntilUtc).Subscribe(x => BannedUntilUtc = x).DisposeWith(_disposables);
+
}
public static Comparison<WalletCoinViewModel?> SortAscending<T>(Func<WalletCoinViewModel, T> selector)

MODIFY
WalletWasabi.Fluent/Views/Wallets/Advanced/WalletCoins/Columns/IsBannedColumnView.axaml
WalletWasabi.Fluent/Views/Wallets/Advanced/WalletCoins/Columns/IsBannedColumnView.axaml
<TextBlock Text="{Binding IsBanned}"
Margin="5 0"
VerticalAlignment="Center"
- HorizontalAlignment="Center" />
+ HorizontalAlignment="Center"
+ ToolTip.Tip="{Binding BannedUntilUtc}"/>
</UserControl>

Show BannedUntil in tooltip