mirror of
https://github.com/ppy/osu.git
synced 2024-12-16 21:42:55 +08:00
Fix crash if favourite button api request fails
This commit is contained in:
parent
7693d4c039
commit
59ba48bc81
@ -78,7 +78,7 @@ namespace osu.Game.Screens.Ranking
|
||||
{
|
||||
Logger.Error(e, $"Failed to fetch beatmap info: {e.Message}");
|
||||
|
||||
loading.Hide();
|
||||
Schedule(() => loading.Hide());
|
||||
Enabled.Value = false;
|
||||
};
|
||||
api.Queue(beatmapSetRequest);
|
||||
|
Loading…
Reference in New Issue
Block a user