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.
This commit is contained in:
VewDev 2025-10-18 09:08:26 +02:00
parent 2c727c57bd
commit 1ce1b6f5f2

View File

@ -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<Bitmap> e)
{
Source = e.NewValue;
}
public static void RefreshAppIconFromSettings()