From 1ce1b6f5f2120bbcd64ae23b5acb9af40f861852 Mon Sep 17 00:00:00 2001 From: VewDev <36-VewDev@users.noreply.git.ryujinx.app> Date: Sat, 18 Oct 2025 09:08:26 +0200 Subject: [PATCH] fix: reload titlebar icon when changing icons Reload the title bar icon when a new icon is selected in the new "new Ryubing UI" mode. --- src/Ryujinx/UI/Controls/RyujinxLogo.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Ryujinx/UI/Controls/RyujinxLogo.cs b/src/Ryujinx/UI/Controls/RyujinxLogo.cs index 2f555a93d..37d7bed04 100644 --- a/src/Ryujinx/UI/Controls/RyujinxLogo.cs +++ b/src/Ryujinx/UI/Controls/RyujinxLogo.cs @@ -24,6 +24,12 @@ namespace Ryujinx.Ava.UI.Controls Source = CurrentLogoBitmap.Value; IsVisible = !ConfigurationState.Instance.ShowOldUI; ConfigurationState.Instance.UI.SelectedWindowIcon.Event += WindowIconChanged_Event; + CurrentLogoBitmap.Event += CurrentLogoBitmapChanged_Event; + } + + private void CurrentLogoBitmapChanged_Event(object _, ReactiveEventArgs e) + { + Source = e.NewValue; } public static void RefreshAppIconFromSettings()