diff --git a/WalletWasabi.Fluent/ApplicationStateManager.cs b/WalletWasabi.Fluent/ApplicationStateManager.cs index 12091c7cb8a..2a90252dfa4 100644 --- a/WalletWasabi.Fluent/ApplicationStateManager.cs +++ b/WalletWasabi.Fluent/ApplicationStateManager.cs @@ -168,7 +168,10 @@ private void ActivatableLifetimeOnDeactivated(object? sender, ActivatedEventArgs case ActivationKind.Background: if (this is IMainWindowService service) { - service.Hide(); + if (_lifetime.MainWindow is not null) + { + service.Hide(); + } } break; }