load empty page when fail

This commit is contained in:
Gagah Pangeran Rosfatiputra
2021-05-25 14:47:39 +07:00
parent 1ad3aee126
commit 4c8f19af69

View File

@ -47,6 +47,7 @@ namespace osu.Game.Overlays
Loading.Show();
request.Success += response => Schedule(() => onSuccess(response));
request.Failure += _ => Schedule(() => LoadDisplay(Empty()));
api.PerformAsync(request);
}