Reorder params

This commit is contained in:
smoogipoo 2020-09-11 12:17:12 +09:00
parent cfc6e2175d
commit be5d143b5a
6 changed files with 6 additions and 6 deletions

View File

@ -20,7 +20,7 @@ namespace osu.Game.Overlays.Profile.Sections.Beatmaps
private readonly BeatmapSetType type;
public PaginatedBeatmapContainer(BeatmapSetType type, Bindable<User> user, string headerText)
: base(user, "", headerText, CounterVisibilityState.AlwaysVisible)
: base(user, headerText, "", CounterVisibilityState.AlwaysVisible)
{
this.type = type;
ItemsPerPage = 6;

View File

@ -16,7 +16,7 @@ namespace osu.Game.Overlays.Profile.Sections.Historical
public class PaginatedMostPlayedBeatmapContainer : PaginatedContainer<APIUserMostPlayedBeatmap>
{
public PaginatedMostPlayedBeatmapContainer(Bindable<User> user)
: base(user, "No records. :(", "Most Played Beatmaps")
: base(user, "Most Played Beatmaps", "No records. :(")
{
ItemsPerPage = 5;
}

View File

@ -14,7 +14,7 @@ namespace osu.Game.Overlays.Profile.Sections.Kudosu
public class PaginatedKudosuHistoryContainer : PaginatedContainer<APIKudosuHistory>
{
public PaginatedKudosuHistoryContainer(Bindable<User> user)
: base(user, "This user hasn't received any kudosu!")
: base(user, missing: "This user hasn't received any kudosu!")
{
ItemsPerPage = 5;
}

View File

@ -41,7 +41,7 @@ namespace osu.Game.Overlays.Profile.Sections
private readonly string headerText;
private readonly CounterVisibilityState counterVisibilityState;
protected PaginatedContainer(Bindable<User> user, string missing = "", string headerText = "", CounterVisibilityState counterVisibilityState = CounterVisibilityState.AlwaysHidden)
protected PaginatedContainer(Bindable<User> user, string headerText = "", string missing = "", CounterVisibilityState counterVisibilityState = CounterVisibilityState.AlwaysHidden)
{
this.headerText = headerText;
this.missing = missing;

View File

@ -19,7 +19,7 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks
private readonly ScoreType type;
public PaginatedScoreContainer(ScoreType type, Bindable<User> user, string headerText, CounterVisibilityState counterVisibilityState, string missingText = "")
: base(user, missingText, headerText, counterVisibilityState)
: base(user, headerText, missingText, counterVisibilityState)
{
this.type = type;

View File

@ -16,7 +16,7 @@ namespace osu.Game.Overlays.Profile.Sections.Recent
public class PaginatedRecentActivityContainer : PaginatedContainer<APIRecentActivity>
{
public PaginatedRecentActivityContainer(Bindable<User> user)
: base(user, "This user hasn't done anything notable recently!")
: base(user, missing: "This user hasn't done anything notable recently!")
{
ItemsPerPage = 10;
}