Skip to content

Commit

Permalink
do not rely on reactive code (WalletWasabi#13235)
Browse files Browse the repository at this point in the history
  • Loading branch information
RolandUI authored Jul 9, 2024
1 parent 40ab4a1 commit cd0a1ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WalletWasabi.Fluent/Models/Wallets/CoinListModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public CoinListModel(Wallet wallet, IWalletModel walletModel)
.Publish();

Pockets = signals.Fetch(GetPockets, x => x.Labels).DisposeWith(_disposables);
List = Pockets.Connect().MergeMany(x => x.Coins.Select(CreateCoinModel).AsObservableChangeSet()).AddKey(x => x.Key).AsObservableCache();
List = signals.Fetch(() => Wallet.Coins.Select(CreateCoinModel), x => x.Key).DisposeWith(_disposables);

signals
.Do(_ => Logger.LogDebug($"Refresh signal emitted in {walletModel.Name}"))
Expand Down

0 comments on commit cd0a1ef

Please sign in to comment.