mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Add missing schedule call
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user