mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 15:53:21 +08:00
Fix initial login state not being reflected in user panel
This commit is contained in:
parent
47be8b42aa
commit
9eec2edd30
@ -134,7 +134,6 @@ namespace osu.Game.Overlays.Settings.Sections.General
|
|||||||
|
|
||||||
panel.Status.BindTo(api.LocalUser.Value.Status);
|
panel.Status.BindTo(api.LocalUser.Value.Status);
|
||||||
|
|
||||||
dropdown.Current.TriggerChange();
|
|
||||||
dropdown.Current.ValueChanged += newValue =>
|
dropdown.Current.ValueChanged += newValue =>
|
||||||
{
|
{
|
||||||
switch (newValue)
|
switch (newValue)
|
||||||
@ -156,6 +155,8 @@ namespace osu.Game.Overlays.Settings.Sections.General
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
dropdown.Current.TriggerChange();
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user