Fix missing text has been shown before api request has been completed

This commit is contained in:
EVAST9919
2017-11-08 20:42:24 +03:00
parent 2e67685762
commit edeeefea3b
3 changed files with 12 additions and 6 deletions

View File

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