Clean coinViewModel
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/CoinViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/CoinViewModel.cs
@@ -57,12 +57,13 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
.DisposeWith(Disposables);
this.WhenAnyValue(x => x.Status)
+ .ObserveOn(RxApp.MainThreadScheduler)
.Subscribe(_ => this.RaisePropertyChanged(nameof(ToolTip)));
Observable
- .Merge(this.WhenAnyValue(x => x.Confirmed, x => x.CoinJoinInProgress, x => x.Confirmations).Select(_ => Unit.Default).Synchronize())
- .Merge(Model.WhenAnyValue(x => x.IsBanned, x => x.SpentAccordingToBackend).Select(_ => Unit.Default).Synchronize())
- .Merge(Observable.FromEventPattern(Global.ChaumianClient, nameof(Global.ChaumianClient.StateUpdated)).Select(_ => Unit.Default).Synchronize())
+ .Merge(this.WhenAnyValue(x => x.Confirmed, x => x.CoinJoinInProgress, x => x.Confirmations).Select(_ => Unit.Default))
+ .Merge(Model.WhenAnyValue(x => x.IsBanned, x => x.SpentAccordingToBackend).Select(_ => Unit.Default))
+ .Merge(Observable.FromEventPattern(Global.ChaumianClient, nameof(Global.ChaumianClient.StateUpdated)).Select(_ => Unit.Default))
.ObserveOn(RxApp.MainThreadScheduler)
.Subscribe(_ => RefreshSmartCoinStatus())
.DisposeWith(Disposables);
@@ -77,6 +78,7 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
Global.UiConfig
.WhenAnyValue(x => x.LurkingWifeMode)
+ .Synchronize()
.ObserveOn(RxApp.MainThreadScheduler)
.Subscribe(_ =>
{

Clean coinViewModel