Update User API stuff.

This commit is contained in:
Dean Herbert
2017-04-20 19:48:53 +09:00
parent a174b7201e
commit c7411c47d6
2 changed files with 14 additions and 9 deletions

View File

@ -371,8 +371,8 @@ namespace osu.Game.Screens.Ranking
[BackgroundDependencyLoader]
private void load(TextureStore textures)
{
if (user.Cover?.Url != null)
cover.Texture = textures.Get(user.Cover?.Url);
if (!string.IsNullOrEmpty(user.CoverUrl))
cover.Texture = textures.Get(user.CoverUrl);
}
}