1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 00:47:24 +08:00

fix covers not showing in user panels

This commit is contained in:
Aergwyn 2018-01-04 08:15:11 +01:00
parent 9b70578af6
commit d0c9d71ee7

View File

@ -39,10 +39,14 @@ namespace osu.Game.Users
public string AvatarUrl;
[JsonProperty(@"cover_url")]
public string CoverUrl;
public string CoverUrl
{
get { return Cover?.Url; }
set { Cover = new UserCover { Url = value }; }
}
//[JsonProperty(@"cover")]
//public UserCover Cover;
[JsonProperty(@"cover")]
public UserCover Cover;
public class UserCover
{