mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 23:53:51 +09:00
Check for supporter before displaying loading spinner
This commit is contained in:
@ -234,16 +234,15 @@ namespace osu.Game.Screens.Select.Leaderboards
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
PlaceholderState = PlaceholderState.Retrieving;
|
|
||||||
loading.Show();
|
|
||||||
|
|
||||||
if (Scope != LeaderboardScope.Global && !api.LocalUser.Value.IsSupporter)
|
if (Scope != LeaderboardScope.Global && !api.LocalUser.Value.IsSupporter)
|
||||||
{
|
{
|
||||||
loading.Hide();
|
|
||||||
PlaceholderState = PlaceholderState.NotSupporter;
|
PlaceholderState = PlaceholderState.NotSupporter;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PlaceholderState = PlaceholderState.Retrieving;
|
||||||
|
loading.Show();
|
||||||
|
|
||||||
getScoresRequest = new GetScoresRequest(Beatmap, osuGame?.Ruleset.Value ?? Beatmap.Ruleset, Scope);
|
getScoresRequest = new GetScoresRequest(Beatmap, osuGame?.Ruleset.Value ?? Beatmap.Ruleset, Scope);
|
||||||
getScoresRequest.Success += r =>
|
getScoresRequest.Success += r =>
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user