Import average rating

This commit is contained in:
Mbucari 2023-01-11 14:35:14 -07:00
parent d64fb081a0
commit b823f5fa00
2 changed files with 9 additions and 4 deletions

View file

@ -93,10 +93,12 @@ namespace DataLayer
var starString = new string(STAR, fullStars);
if (score - fullStars >= 0.25f)
starString += HALF;
if (score - fullStars >= 0.75f)
starString += STAR;
else if (score - fullStars >= 0.25f)
starString += HALF;
return starString;
return starString;
}
}
}