1
0
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:
ansel 2023-01-14 02:50:30 +03:00
parent 9e7ecbf4a1
commit bb8bcd7248

View File

@ -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();
}