Skip to content

Commit

Permalink
update progress filter for use with new code
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsLogic committed May 19, 2024
1 parent 6c036e8 commit 1ef0065
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions XAU/ViewModels/Pages/GamesViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,9 @@ public void SearchAndFilterGames()
}
break;
case 5:
for (int i = 0; i < GamesResponse.titles.Count; i++)
for (int i = 0; i < GamesResponse.Titles.Count; i++)
{
dynamic title = GamesResponse.titles[i];
dynamic title = GamesResponse.Titles[i];
if (double.TryParse(title.achievement.progressPercentage.ToString(), out double progress) && progress < 100)
AddGame(i);
}
Expand Down Expand Up @@ -260,9 +260,9 @@ public void FilterGames()
}
break;
case 5:
for (int i = 0; i < GamesResponse.titles.Count; i++)
for (int i = 0; i < GamesResponse.Titles.Count; i++)
{
dynamic title = GamesResponse.titles[i];
dynamic title = GamesResponse.Titles[i];
if (double.TryParse(title.achievement.progressPercentage.ToString(), out double progress) && progress < 100)
{
if (!title.name.ToString().ToLower().Contains(SearchText.ToLower()))
Expand Down

0 comments on commit 1ef0065

Please sign in to comment.