mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 14:12:54 +08:00
Remove repetitive code
This commit is contained in:
parent
050130e159
commit
45c0826314
@ -101,9 +101,6 @@ namespace osu.Game.Overlays.Profile.Sections
|
|||||||
{
|
{
|
||||||
Schedule(() =>
|
Schedule(() =>
|
||||||
{
|
{
|
||||||
moreButton.FadeTo(items.Count == ItemsPerPage ? 1 : 0);
|
|
||||||
moreButton.IsLoading = false;
|
|
||||||
|
|
||||||
if (!items.Any() && VisiblePages == 1)
|
if (!items.Any() && VisiblePages == 1)
|
||||||
{
|
{
|
||||||
moreButton.Hide();
|
moreButton.Hide();
|
||||||
|
Loading…
Reference in New Issue
Block a user