mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-12-16 12:09:51 +00:00
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:
parent
2c727c57bd
commit
1ce1b6f5f2
@ -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()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user