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:
@ -8,6 +8,7 @@ using osu.Framework.Graphics.Colour;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using osu.Framework.Graphics.Shapes;
|
||||
using osu.Framework.Localisation;
|
||||
using osu.Game.Online.API.Requests.Responses;
|
||||
using osu.Game.Overlays.Profile.Header;
|
||||
using osu.Game.Resources.Localisation.Web;
|
||||
using osu.Game.Users;
|
||||
@ -18,7 +19,7 @@ namespace osu.Game.Overlays.Profile
|
||||
{
|
||||
private UserCoverBackground coverContainer;
|
||||
|
||||
public Bindable<User> User = new Bindable<User>();
|
||||
public Bindable<APIUser> User = new Bindable<APIUser>();
|
||||
|
||||
private CentreHeaderContainer centreHeaderContainer;
|
||||
private DetailHeaderContainer detailHeaderContainer;
|
||||
@ -92,7 +93,7 @@ namespace osu.Game.Overlays.Profile
|
||||
|
||||
protected override OverlayTitle CreateTitle() => new ProfileHeaderTitle();
|
||||
|
||||
private void updateDisplay(User user) => coverContainer.User = user;
|
||||
private void updateDisplay(APIUser user) => coverContainer.User = user;
|
||||
|
||||
private class ProfileHeaderTitle : OverlayTitle
|
||||
{
|
||||
|
Reference in New Issue
Block a user