Use linq expression to count deleted comments

This commit is contained in:
Andrei Zavatski
2019-10-15 00:55:33 +03:00
parent b84c9dfd84
commit 0fd6b0c852
3 changed files with 4 additions and 21 deletions

View File

@ -180,7 +180,7 @@ namespace osu.Game.Overlays.Comments
}
};
deletedChildrenPlaceholder.DeletedCount.Value = comment.GetDeletedChildrenCount();
deletedChildrenPlaceholder.DeletedCount.Value = comment.GetDeletedChildrenCount;
if (comment.UserId.HasValue)
username.AddUserLink(comment.User);