use a custom key install function with notifications instead of the normal one with dialogs

This commit is contained in:
GreemDev 2025-11-21 01:05:43 -06:00
parent 50c3dd0573
commit 4857fde4fe
4 changed files with 89 additions and 2 deletions

View file

@ -4,6 +4,7 @@ using Avalonia.Controls.Notifications;
using Avalonia.Threading;
using Ryujinx.Ava.Common.Locale;
using Ryujinx.Common;
using Ryujinx.UI.SetupWizard;
using System;
using System.Collections.Concurrent;
using System.Threading;
@ -48,6 +49,8 @@ namespace Ryujinx.Ava.UI.Helpers
host.Closing += (sender, args) =>
{
if (sender is RyujinxSetupWizardWindow) return;
if (maybeAsyncWorkQueue.IsValueCreated)
{
maybeAsyncWorkQueue.Value.Dispose();