Add missing schedule call

This commit is contained in:
Dean Herbert 2020-10-22 14:49:48 +09:00
parent da573c7487
commit 5a00a05a95

View File

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