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:
parent
dad9cc9315
commit
b434e29a7c
@ -303,10 +303,9 @@ namespace osu.Game.Online.Leaderboards
|
||||
.Expire();
|
||||
scoreFlowContainer = null;
|
||||
|
||||
loading.Hide();
|
||||
|
||||
if (scores?.Any() != true)
|
||||
{
|
||||
loading.Hide();
|
||||
PlaceholderState = PlaceholderState.NoScores;
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user