mirror of
https://github.com/ppy/osu
synced 2024-12-13 10:28:17 +00:00
Reorder params
This commit is contained in:
parent
cfc6e2175d
commit
be5d143b5a
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user