mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 16:52:54 +08:00
Move avatar update bind to LoadComplete
This commit is contained in:
parent
9e7ecbf4a1
commit
bb8bcd7248
@ -183,12 +183,12 @@ namespace osu.Game.Overlays.Comments
|
||||
});
|
||||
|
||||
User.BindTo(api.LocalUser);
|
||||
User.BindValueChanged(e => avatar.User = e.NewValue);
|
||||
}
|
||||
|
||||
protected override void LoadComplete()
|
||||
{
|
||||
User.BindValueChanged(_ => refetchComments());
|
||||
User.BindValueChanged(e => avatar.User = e.NewValue);
|
||||
Sort.BindValueChanged(_ => refetchComments(), true);
|
||||
base.LoadComplete();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user