Assert ui thread
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/ReceiveTabViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/ReceiveTabViewModel.cs
@@ -139,7 +139,7 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
ReLabelCommand = ReactiveCommand.Create(() =>
{
SelectedAddress.InEditMode = true;
- }, isCoinListItemSelected);
+ }, isCoinListItemSelected, outputScheduler: RxApp.MainThreadScheduler);
_suggestions = new ObservableCollection<SuggestionViewModel>();
}

MODIFY
WalletWasabi.Gui/ViewModels/AddressViewModel.cs
WalletWasabi.Gui/ViewModels/AddressViewModel.cs
@@ -88,14 +88,14 @@ namespace WalletWasabi.Gui.ViewModels
public string Label
{
- get { return _label; }
- set { this.RaiseAndSetIfChanged(ref _label, value); }
+ get => _label;
+ set => this.RaiseAndSetIfChanged(ref _label, value);
}
public bool InEditMode
{
- get { return _inEditMode; }
- set { this.RaiseAndSetIfChanged(ref _inEditMode, value); }
+ get => _inEditMode;
+ set => this.RaiseAndSetIfChanged(ref _inEditMode, value);
}
public string Address => Model.GetP2wpkhAddress(Global.Network).ToString();

Assert ui thread