Skip to content

Commit

Permalink
call proper method on hide (#17573)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesSmith85 authored Nov 20, 2024
1 parent 9beefa3 commit ed0cc75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Avalonia.Native/AvaloniaNativeApplicationPlatform.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ void IAvnApplicationEvents.OnHide()
{
if (AvaloniaLocator.Current.GetService<IActivatableLifetime>() is ActivatableLifetimeBase lifetime)
{
lifetime.OnActivated(ActivationKind.Background);
lifetime.OnDeactivated(ActivationKind.Background);
}
}

Expand Down

0 comments on commit ed0cc75

Please sign in to comment.