Dont reload entire library on game version change

This commit is contained in:
Jimmy Reichley 2024-08-19 18:44:01 -04:00
parent 2b0e121b17
commit 14c90d1c5d
No known key found for this signature in database
GPG key ID: 67715DC5A329803C
2 changed files with 1 additions and 11 deletions

View file

@ -802,6 +802,7 @@ namespace Ryujinx.UI.App.Common
it.Remove(it.Items.Where(item => item.TitleUpdate.TitleIdBase == application.IdBase)); it.Remove(it.Items.Where(item => item.TitleUpdate.TitleIdBase == application.IdBase));
it.AddOrUpdate(updates); it.AddOrUpdate(updates);
RefreshApplicationInfo(application.IdBase);
}); });
} }

View file

@ -59,17 +59,6 @@ namespace Ryujinx.Ava.UI.Windows
{ {
ViewModel.Save(); ViewModel.Save();
if (Application.Current?.ApplicationLifetime is IClassicDesktopStyleApplicationLifetime al)
{
foreach (Window window in al.Windows)
{
if (window is MainWindow mainWindow)
{
mainWindow.LoadApplications();
}
}
}
((ContentDialog)Parent).Hide(); ((ContentDialog)Parent).Hide();
} }