1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 06:52:55 +08:00

Move method above nested class

This commit is contained in:
smoogipoo 2019-05-21 16:05:59 +09:00
parent 7169eb67d2
commit e76d785c10

View File

@ -95,6 +95,8 @@ namespace osu.Game.Overlays.Profile
protected override ScreenTitle CreateTitle() => new ProfileHeaderTitle(); protected override ScreenTitle CreateTitle() => new ProfileHeaderTitle();
private void updateDisplay(User user) => coverContainer.User = user;
private class ProfileHeaderTitle : ScreenTitle private class ProfileHeaderTitle : ScreenTitle
{ {
public ProfileHeaderTitle() public ProfileHeaderTitle()
@ -109,7 +111,5 @@ namespace osu.Game.Overlays.Profile
AccentColour = colours.Seafoam; AccentColour = colours.Seafoam;
} }
} }
private void updateDisplay(User user) => coverContainer.User = user;
} }
} }