dont filter coinjoins for balance charts.
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Home/History/HistoryViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Home/History/HistoryViewModel.cs
@@ -24,6 +24,7 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.Home.History
private readonly Wallet _wallet;
private readonly BitcoinStore _bitcoinStore;
private readonly ReadOnlyObservableCollection<HistoryItemViewModel> _transactions;
+ private readonly ReadOnlyObservableCollection<HistoryItemViewModel> _unfilteredTransactions;
private readonly SourceList<HistoryItemViewModel> _transactionSourceList;
[AutoNotify] private bool _showCoinJoin;
@@ -40,12 +41,14 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.Home.History
_transactionSourceList
.Connect()
- .Filter(coinJoinFilter)
.ObserveOn(RxApp.MainThreadScheduler)
.Sort(SortExpressionComparer<HistoryItemViewModel>.Descending(x => x.OrderIndex))
+ .Bind(out _unfilteredTransactions)
+ .Filter(coinJoinFilter)
.Bind(out _transactions)
.Subscribe();
+
this.WhenAnyValue(x => x.ShowCoinJoin)
.ObserveOn(RxApp.MainThreadScheduler)
.Subscribe(showCoinJoin => uiConfig.ShowCoinJoinInHistory = showCoinJoin);
@@ -74,6 +77,8 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.Home.History
RxApp.MainThreadScheduler.Schedule(async () => await UpdateAsync());
}
+ public ReadOnlyObservableCollection<HistoryItemViewModel> UnfilteredTransactions => _unfilteredTransactions;
+
public ReadOnlyObservableCollection<HistoryItemViewModel> Transactions => _transactions;
private Func<HistoryItemViewModel, bool> CoinJoinFilter(bool showCoinJoin)

MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/WalletViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/WalletViewModel.cs
@@ -30,7 +30,7 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets
History = new HistoryViewModel(wallet, uiConfig, balanceChanged);
BalanceTile = new WalletBalanceTileViewModel(wallet, balanceChanged);
- BalanceChartTile = new WalletBalanceChartTileViewModel(History.Transactions);
+ BalanceChartTile = new WalletBalanceChartTileViewModel(History.UnfilteredTransactions);
WalletPieChart = new WalletPieChartTileViewModel(wallet, balanceChanged);
}

dont filter coinjoins for balance charts.