mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 15:07:44 +08: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