From 01ccd18726a127c513a24c832cd00791db9a5e32 Mon Sep 17 00:00:00 2001 From: Evan Husted Date: Thu, 16 Jan 2025 09:52:35 -0600 Subject: [PATCH] UI: Meant to use that method in another place [ci-skip] --- src/Ryujinx/DiscordIntegrationModule.cs | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/Ryujinx/DiscordIntegrationModule.cs b/src/Ryujinx/DiscordIntegrationModule.cs index 2b462c27f..040d61ecf 100644 --- a/src/Ryujinx/DiscordIntegrationModule.cs +++ b/src/Ryujinx/DiscordIntegrationModule.cs @@ -46,16 +46,7 @@ namespace Ryujinx.Ava }; ConfigurationState.Instance.EnableDiscordIntegration.Event += Update; - TitleIDs.CurrentApplication.Event += (_, e) => - { - if (e.NewValue) - SwitchToPlayingState( - ApplicationLibrary.LoadAndSaveMetaData(e.NewValue), - Switch.Shared.Processes.ActiveApplication - ); - else - SwitchToMainState(); - }; + TitleIDs.CurrentApplication.Event += (_, e) => Use(e.NewValue); } private static void Update(object sender, ReactiveEventArgs evnt)