mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-19 10:42:05 +00:00
Fix list enumeration
This commit is contained in:
parent
cd062ee811
commit
13bac28e43
2 changed files with 4 additions and 4 deletions
|
@ -208,8 +208,8 @@ namespace Ryujinx.Ava.UI.ViewModels
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
var dlcsForThisGame = dlcs.Where(it => it.TitleIdBase == _applicationData.IdBase);
|
var dlcsForThisGame = dlcs.Where(it => it.TitleIdBase == _applicationData.IdBase).ToList();
|
||||||
if (!dlcsForThisGame.Any())
|
if (dlcsForThisGame.Count == 0)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -146,8 +146,8 @@ namespace Ryujinx.Ava.UI.ViewModels
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
var updatesForThisGame = updates.Where(it => it.TitleIdBase == ApplicationData.Id);
|
var updatesForThisGame = updates.Where(it => it.TitleIdBase == ApplicationData.Id).ToList();
|
||||||
if (!updatesForThisGame.Any())
|
if (updatesForThisGame.Count == 0)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue