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; public string AvatarUrl;
[JsonProperty(@"cover_url")] [JsonProperty(@"cover_url")]
public string CoverUrl; public string CoverUrl
{
get { return Cover?.Url; }
set { Cover = new UserCover { Url = value }; }
}
//[JsonProperty(@"cover")] [JsonProperty(@"cover")]
//public UserCover Cover; public UserCover Cover;
public class UserCover public class UserCover
{ {