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 and maxkatz6 committed Nov 26, 2024
1 parent a370795 commit 0fc17ca
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 0fc17ca

Please sign in to comment.