mirror of
https://github.com/ppy/osu
synced 2024-12-24 15:53:37 +00:00
Add missing schedule call
This commit is contained in:
parent
da573c7487
commit
5a00a05a95
@ -58,7 +58,7 @@ namespace osu.Game.Overlays.Toolbar
|
||||
StateContainer = login;
|
||||
}
|
||||
|
||||
private void onlineStateChanged(ValueChangedEvent<APIState> state)
|
||||
private void onlineStateChanged(ValueChangedEvent<APIState> state) => Schedule(() =>
|
||||
{
|
||||
switch (state.NewValue)
|
||||
{
|
||||
@ -72,6 +72,6 @@ namespace osu.Game.Overlays.Toolbar
|
||||
avatar.User = api.LocalUser.Value;
|
||||
break;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user