Skip to content

Commit

Permalink
Merge pull request #12821 from soosr/release-fix-hide-mac
Browse files Browse the repository at this point in the history
  • Loading branch information
soosr committed Apr 11, 2024
2 parents 88ab06f + c7bd82c commit 5a47c42
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion WalletWasabi.Fluent/ApplicationStateManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 5a47c42

Please sign in to comment.