Move PaginatedContainerWithHeader logic to a base class

This commit is contained in:
Andrei Zavatski
2020-09-10 20:48:06 +03:00
parent e5f70d8eae
commit 913e3faf60
5 changed files with 24 additions and 51 deletions

View File

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