mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Rename User
to APIUser
and move to correct namespace
This commit is contained in:
@ -12,8 +12,8 @@ using osu.Framework.Graphics.Sprites;
|
||||
using osu.Framework.Input.Events;
|
||||
using osu.Game.Graphics;
|
||||
using osu.Game.Graphics.Sprites;
|
||||
using osu.Game.Online.API.Requests.Responses;
|
||||
using osu.Game.Resources.Localisation.Web;
|
||||
using osu.Game.Users;
|
||||
using osuTK;
|
||||
|
||||
namespace osu.Game.Overlays.Profile.Header.Components
|
||||
@ -25,7 +25,7 @@ namespace osu.Game.Overlays.Profile.Header.Components
|
||||
private const int width = 310;
|
||||
private const int move_offset = 15;
|
||||
|
||||
public readonly Bindable<User> User = new Bindable<User>();
|
||||
public readonly Bindable<APIUser> User = new Bindable<APIUser>();
|
||||
|
||||
private readonly TextFlowContainer text;
|
||||
private readonly Box background;
|
||||
@ -107,7 +107,7 @@ namespace osu.Game.Overlays.Profile.Header.Components
|
||||
User.BindValueChanged(onUserChanged, true);
|
||||
}
|
||||
|
||||
private void onUserChanged(ValueChangedEvent<User> user)
|
||||
private void onUserChanged(ValueChangedEvent<APIUser> user)
|
||||
{
|
||||
text.Text = string.Empty;
|
||||
|
||||
|
Reference in New Issue
Block a user