mirror of https://github.com/ppy/osu
Fix initial login state not being reflected in user panel
This commit is contained in:
parent
47be8b42aa
commit
9eec2edd30
|
@ -134,7 +134,6 @@ public void APIStateChanged(APIAccess api, APIState state)
|
|||
|
||||
panel.Status.BindTo(api.LocalUser.Value.Status);
|
||||
|
||||
dropdown.Current.TriggerChange();
|
||||
dropdown.Current.ValueChanged += newValue =>
|
||||
{
|
||||
switch (newValue)
|
||||
|
@ -156,6 +155,8 @@ public void APIStateChanged(APIAccess api, APIState state)
|
|||
break;
|
||||
}
|
||||
};
|
||||
dropdown.Current.TriggerChange();
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue