mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 19:22:56 +08:00
Rename populate method
This commit is contained in:
parent
a63124c935
commit
93290ef966
@ -153,19 +153,19 @@ namespace osu.Game.Overlays
|
|||||||
if (fetchOnline)
|
if (fetchOnline)
|
||||||
{
|
{
|
||||||
userReq = new GetUserRequest(user.Id);
|
userReq = new GetUserRequest(user.Id);
|
||||||
userReq.Success += fillData;
|
userReq.Success += userLoadComplete;
|
||||||
api.Queue(userReq);
|
api.Queue(userReq);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
userReq = null;
|
userReq = null;
|
||||||
fillData(user);
|
userLoadComplete(user);
|
||||||
}
|
}
|
||||||
|
|
||||||
Show();
|
Show();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void fillData(User user)
|
private void userLoadComplete(User user)
|
||||||
{
|
{
|
||||||
header.User = user;
|
header.User = user;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user