mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-03-13 18:11:08 +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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user