check type and cast it
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Home/History/HistoryViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Home/History/HistoryViewModel.cs
@@ -105,9 +105,16 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.Home.History
foreach (var newItem in newHistoryList)
{
if (_transactions.FirstOrDefault(x => x.Id == newItem.Id) is { } item)
+ {
+ if (newItem is CoinJoinsHistoryItemViewModel model)
+ {
+ item.Update(model);
+ }
+ else
{
item.Update(newItem);
}
+ }
else
{
_transactionSourceList.Add(newItem);

check type and cast it