1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-19 14:33:21 +08:00

Merge pull request #1526 from jorolf/profile-beatmaps-missing-fix

fix missing text appearing when request returns nothing but beatmaps are already there
This commit is contained in:
Dan Balasescu 2017-11-20 18:18:50 +09:00 committed by GitHub
commit 5061a81e88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ namespace osu.Game.Overlays.Profile.Sections.Beatmaps
ShowMoreButton.FadeTo(sets.Count == ItemsPerPage ? 1 : 0);
ShowMoreLoading.Hide();
if (!sets.Any())
if (!sets.Any() && VisiblePages == 1)
{
MissingText.Show();
return;

View File

@ -41,7 +41,7 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks
ShowMoreButton.FadeTo(scores.Count == ItemsPerPage ? 1 : 0);
ShowMoreLoading.Hide();
if (!scores.Any())
if (!scores.Any() && VisiblePages == 1)
{
MissingText.Show();
return;