mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:17:23 +08:00
CI fix
This commit is contained in:
parent
42a06a54ff
commit
ad32d66365
@ -78,6 +78,6 @@ namespace osu.Game.Online.API.Requests.Responses
|
||||
return WebUtility.HtmlDecode(Regex.Replace(MessageHtml, @"<(.|\n)*?>", string.Empty));
|
||||
}
|
||||
|
||||
public int GetDeletedChildrenCount => ChildComments.Select(c => c.IsDeleted).Where(c => c).Count();
|
||||
public int GetDeletedChildrenCount => ChildComments.Select(c => c.IsDeleted).Count(c => c);
|
||||
}
|
||||
}
|
||||
|
@ -163,7 +163,7 @@ namespace osu.Game.Overlays.Comments
|
||||
{
|
||||
content.Add(loaded);
|
||||
|
||||
int deletedComments = response.Comments.Select(c => c.IsDeleted && c.IsTopLevel).Where(c => c).Count();
|
||||
int deletedComments = response.Comments.Select(c => c.IsDeleted && c.IsTopLevel).Count(c => c);
|
||||
|
||||
deletedChildrenPlaceholder.DeletedCount.Value = initial ? deletedComments : deletedChildrenPlaceholder.DeletedCount.Value + deletedComments;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user