misc: some cleanups and fix compile warnings

This commit is contained in:
Evan Husted
2025-01-01 02:14:59 -06:00
parent 391f57bdd2
commit 88d11d3d8d
4 changed files with 13 additions and 11 deletions

View File

@@ -106,9 +106,9 @@ namespace Ryujinx.Ava.UI.ViewModels
// NOTE(jpr): this works around a bug where calling _views.Clear also clears SelectedDownloadableContents for
// some reason. so we save the items here and add them back after
var items = SelectedDownloadableContents.ToArray();
_views.Clear();
_views.AddRange(view);
Views.Clear();
Views.AddRange(view);
foreach (DownloadableContentModel item in items)
{