mirror of
https://github.com/osukey/osukey.git
synced 2025-05-24 23:17:25 +09: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.BindTo(api.LocalUser);
|
||||||
User.BindValueChanged(e => avatar.User = e.NewValue);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void LoadComplete()
|
protected override void LoadComplete()
|
||||||
{
|
{
|
||||||
User.BindValueChanged(_ => refetchComments());
|
User.BindValueChanged(_ => refetchComments());
|
||||||
|
User.BindValueChanged(e => avatar.User = e.NewValue);
|
||||||
Sort.BindValueChanged(_ => refetchComments(), true);
|
Sort.BindValueChanged(_ => refetchComments(), true);
|
||||||
base.LoadComplete();
|
base.LoadComplete();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user