Multiwallet-ing StatusBar alternative
MODIFY
WalletWasabi.Gui/ViewModels/StatusBarViewModel.cs
WalletWasabi.Gui/ViewModels/StatusBarViewModel.cs
@@ -117,12 +117,12 @@ namespace WalletWasabi.Gui.ViewModels
if (walletCheckingInterval is null)
{
+ var walletService = x.Sender as WalletService;
walletCheckingInterval = Observable.Interval(TimeSpan.FromSeconds(1))
.ObserveOn(RxApp.MainThreadScheduler)
.Subscribe(_ =>
{
var global = Global;
- var walletService = global?.WalletService;
if (walletService is { })
{
var segwitActivationHeight = SmartHeader.GetStartingHeader(walletService.Network).Height;

MODIFY
WalletWasabi/Services/WalletService.cs
WalletWasabi/Services/WalletService.cs
@@ -236,7 +236,7 @@ namespace WalletWasabi.Services
{
try
{
- InitializingChanged?.Invoke(null, true);
+ InitializingChanged?.Invoke(this, true);
if (!Synchronizer.IsRunning)
{
@@ -265,7 +265,7 @@ namespace WalletWasabi.Services
}
finally
{
- InitializingChanged?.Invoke(null, false);
+ InitializingChanged?.Invoke(this, false);
}
}

Multiwallet-ing StatusBar alternative