fix viewmodels still accessing Global.WalletService.
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/CoinJoinTabViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/CoinJoinTabViewModel.cs
@@ -281,7 +281,7 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
private void UpdateStates()
{
- var chaumianClient = Global?.WalletService?.ChaumianClient;
+ var chaumianClient = WalletService?.ChaumianClient;
if (chaumianClient is null)
{
return;

MODIFY
WalletWasabi.Gui/ViewModels/AddressViewModel.cs
WalletWasabi.Gui/ViewModels/AddressViewModel.cs
@@ -81,7 +81,7 @@ namespace WalletWasabi.Gui.ViewModels
{
if (InEditMode)
{
- KeyManager keyManager = Global.WalletService.KeyManager;
+ KeyManager keyManager = KeyManager;
HdPubKey hdPubKey = keyManager.GetKeys(x => Model == x).FirstOrDefault();
if (hdPubKey != default)

fix viewmodels still accessing Global.WalletService.