mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Enforce expression body for typical simple ones.
This commit is contained in:
@ -50,17 +50,14 @@ namespace osu.Game.Online.API.Requests.Responses
|
||||
[JsonProperty(@"user_votes")]
|
||||
private List<long> userVotes
|
||||
{
|
||||
set
|
||||
set => value.ForEach(v =>
|
||||
{
|
||||
value.ForEach(v =>
|
||||
Comments.ForEach(c =>
|
||||
{
|
||||
Comments.ForEach(c =>
|
||||
{
|
||||
if (v == c.Id)
|
||||
c.IsVoted = true;
|
||||
});
|
||||
if (v == c.Id)
|
||||
c.IsVoted = true;
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
private List<User> users;
|
||||
|
Reference in New Issue
Block a user