mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 15:44:04 +09:00
User property instead of weirdly named method
This commit is contained in:
@ -296,7 +296,23 @@ namespace osu.Game.Overlays.Profile
|
||||
levelBadge.Texture = textures.Get(@"Profile/levelbadge");
|
||||
}
|
||||
|
||||
public void FillFullData(User user)
|
||||
private User user;
|
||||
|
||||
public User User
|
||||
{
|
||||
get
|
||||
{
|
||||
return user;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
user = value;
|
||||
loadUser();
|
||||
}
|
||||
}
|
||||
|
||||
private void loadUser()
|
||||
{
|
||||
coverContainer.Add(new AsyncLoadWrapper(new UserCoverBackground(user)
|
||||
{
|
||||
|
Reference in New Issue
Block a user