1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-15 23:42:55 +08:00

Move loading hide operation inside early return to ensure not hidden too early

It should only be hidden after the async load completes.
This commit is contained in:
Dean Herbert 2022-01-30 03:10:01 +09:00
parent dad9cc9315
commit b434e29a7c

View File

@ -303,10 +303,9 @@ namespace osu.Game.Online.Leaderboards
.Expire();
scoreFlowContainer = null;
loading.Hide();
if (scores?.Any() != true)
{
loading.Hide();
PlaceholderState = PlaceholderState.NoScores;
return;
}