1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-03 13:33:07 +08:00

Fix the fix

The more proper way to do this would be to address the underlying issue,
which is https://github.com/ppy/osu/issues/29546, but let's do this
locally for now.
This commit is contained in:
Bartłomiej Dach 2024-08-21 12:27:56 +02:00
parent 59ba48bc81
commit 28d0a24555
No known key found for this signature in database

View File

@ -78,8 +78,11 @@ namespace osu.Game.Screens.Ranking
{
Logger.Error(e, $"Failed to fetch beatmap info: {e.Message}");
Schedule(() => loading.Hide());
Enabled.Value = false;
Schedule(() =>
{
loading.Hide();
Enabled.Value = false;
});
};
api.Queue(beatmapSetRequest);
}
@ -109,8 +112,12 @@ namespace osu.Game.Screens.Ranking
favouriteRequest.Failure += e =>
{
Logger.Error(e, $"Failed to {actionType.ToString().ToLowerInvariant()} beatmap: {e.Message}");
Enabled.Value = true;
loading.Hide();
Schedule(() =>
{
Enabled.Value = true;
loading.Hide();
});
};
api.Queue(favouriteRequest);