bring instance to front when signal received
MODIFY
WalletWasabi.Fluent/ApplicationStateManager.cs
WalletWasabi.Fluent/ApplicationStateManager.cs
@@ -7,6 +7,7 @@ using WalletWasabi.Fluent.State;
using WalletWasabi.Fluent.ViewModels;
using WalletWasabi.Fluent.Views;
using WalletWasabi.Logging;
+using WalletWasabi.Services;
namespace WalletWasabi.Fluent;
@@ -135,6 +136,11 @@ public class ApplicationStateManager : IMainWindowService
})
.DisposeWith(_compositeDisposable);
+ Observable
+ .FromEventPattern(Services.SingleInstanceChecker, nameof(SingleInstanceChecker.OtherInstanceStarted))
+ .Subscribe(_ => _stateMachine.Fire(Trigger.Show))
+ .DisposeWith(_compositeDisposable);
+
_lifetime.MainWindow = result;
result.Show();

bring instance to front when signal received