mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 12:57:36 +08:00
Fix formatting issues
This commit is contained in:
parent
34429a02e7
commit
be08460bea
@ -14,7 +14,7 @@ namespace osu.Game.Users.Drawables
|
||||
{
|
||||
private readonly User user;
|
||||
|
||||
[Resolved(CanBeNull=true)]
|
||||
[Resolved(CanBeNull = true)]
|
||||
private IAPIProvider api { get; set; }
|
||||
|
||||
/// <summary>
|
||||
@ -38,7 +38,7 @@ namespace osu.Game.Users.Drawables
|
||||
Texture = textures.Get(user.AvatarUrl.StartsWith('/') ? $"{api.WebsiteRootUrl}{user.AvatarUrl}" : user.AvatarUrl);
|
||||
else if (user != null && user.Id > 1)
|
||||
Texture = textures.Get($@"https://a.ppy.sh/{user.Id}");
|
||||
|
||||
|
||||
Texture ??= textures.Get(@"Online/avatar-guest");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user