rename `item` to `model` in `CreateDrawableItem`

This commit is contained in:
tsunyoku 2022-07-17 14:50:53 +01:00
parent 486fbd2531
commit 7a6666996f
1 changed files with 3 additions and 3 deletions

View File

@ -67,15 +67,15 @@ protected override APIRequest<List<SoloScoreInfo>> CreateRequest(PaginationParam
private int drawableItemIndex; private int drawableItemIndex;
protected override Drawable CreateDrawableItem(SoloScoreInfo item) protected override Drawable CreateDrawableItem(SoloScoreInfo model)
{ {
switch (type) switch (type)
{ {
default: default:
return new DrawableProfileScore(item); return new DrawableProfileScore(model);
case ScoreType.Best: case ScoreType.Best:
return new DrawableProfileWeightedScore(item, Math.Pow(0.95, drawableItemIndex++)); return new DrawableProfileWeightedScore(model, Math.Pow(0.95, drawableItemIndex++));
} }
} }
} }