1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-17 10:13:22 +08:00

Fix crash if favourite button api request fails

This commit is contained in:
Layendan 2024-08-19 07:58:20 -07:00
parent 7693d4c039
commit 59ba48bc81

View File

@ -78,7 +78,7 @@ namespace osu.Game.Screens.Ranking
{ {
Logger.Error(e, $"Failed to fetch beatmap info: {e.Message}"); Logger.Error(e, $"Failed to fetch beatmap info: {e.Message}");
loading.Hide(); Schedule(() => loading.Hide());
Enabled.Value = false; Enabled.Value = false;
}; };
api.Queue(beatmapSetRequest); api.Queue(beatmapSetRequest);