Move spinner hiding before newScore null check

This commit is contained in:
Joseph Madamba 2021-11-07 19:35:30 -08:00
parent ac5d9853d3
commit 9e13c20bd4

View File

@ -69,6 +69,8 @@ namespace osu.Game.Screens.Ranking.Statistics
foreach (var child in content)
child.FadeOut(150).Expire();
spinner.Hide();
var newScore = score.NewValue;
if (newScore == null)
@ -76,8 +78,6 @@ namespace osu.Game.Screens.Ranking.Statistics
if (newScore.HitEvents == null || newScore.HitEvents.Count == 0)
{
spinner.Hide();
content.Add(new FillFlowContainer
{
RelativeSizeAxes = Axes.Both,