1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 20:32:55 +08:00

Remove repetitive code

This commit is contained in:
Andrei Zavatski 2019-08-23 14:14:39 +03:00
parent 050130e159
commit 45c0826314

View File

@ -101,9 +101,6 @@ namespace osu.Game.Overlays.Profile.Sections
{
Schedule(() =>
{
moreButton.FadeTo(items.Count == ItemsPerPage ? 1 : 0);
moreButton.IsLoading = false;
if (!items.Any() && VisiblePages == 1)
{
moreButton.Hide();