mirror of
https://github.com/ppy/osu.git
synced 2025-03-03 22:02:57 +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:
parent
59ba48bc81
commit
28d0a24555
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user