mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Move activity (writable) bindable to APIAccess so it correctly transfers between users
This commit is contained in:
@ -156,7 +156,7 @@ namespace osu.Game.Overlays.Settings.Sections.General
|
||||
panel.Status.BindTo(api.LocalUser.Value.Status);
|
||||
panel.Activity.BindTo(api.LocalUser.Value.Activity);
|
||||
|
||||
dropdown.Current.ValueChanged += action =>
|
||||
dropdown.Current.BindValueChanged(action =>
|
||||
{
|
||||
switch (action.NewValue)
|
||||
{
|
||||
@ -179,9 +179,7 @@ namespace osu.Game.Overlays.Settings.Sections.General
|
||||
api.Logout();
|
||||
break;
|
||||
}
|
||||
};
|
||||
dropdown.Current.TriggerChange();
|
||||
|
||||
}, true);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user