mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 06:36:31 +09:00
Use expression body for property get/set where possible
This commit is contained in:
@ -34,8 +34,8 @@ namespace osu.Game.Users
|
||||
[JsonProperty(@"cover_url")]
|
||||
public string CoverUrl
|
||||
{
|
||||
get { return Cover?.Url; }
|
||||
set { Cover = new UserCover { Url = value }; }
|
||||
get => Cover?.Url;
|
||||
set => Cover = new UserCover { Url = value };
|
||||
}
|
||||
|
||||
[JsonProperty(@"cover")]
|
||||
|
Reference in New Issue
Block a user