mirror of
https://github.com/ppy/osu
synced 2024-12-11 17:42:28 +00:00
fix covers not showing in user panels
This commit is contained in:
parent
9b70578af6
commit
d0c9d71ee7
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user