1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-26 04:43:01 +08:00

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
No known key found for this signature in database
GPG Key ID: 25F6F17FD29031E2

View File

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