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:
parent
050130e159
commit
45c0826314
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user