mirror of
https://github.com/ppy/osu.git
synced 2025-02-20 01:33:12 +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:
parent
dad9cc9315
commit
b434e29a7c
@ -303,10 +303,9 @@ namespace osu.Game.Online.Leaderboards
|
|||||||
.Expire();
|
.Expire();
|
||||||
scoreFlowContainer = null;
|
scoreFlowContainer = null;
|
||||||
|
|
||||||
loading.Hide();
|
|
||||||
|
|
||||||
if (scores?.Any() != true)
|
if (scores?.Any() != true)
|
||||||
{
|
{
|
||||||
|
loading.Hide();
|
||||||
PlaceholderState = PlaceholderState.NoScores;
|
PlaceholderState = PlaceholderState.NoScores;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user