mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-12-16 01:36:57 +00:00
use a custom key install function with notifications instead of the normal one with dialogs
This commit is contained in:
parent
50c3dd0573
commit
4857fde4fe
4 changed files with 89 additions and 2 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue