mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 14:57:52 +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;
|
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
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user