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();
request.Success += response => Schedule(() => onSuccess(response));
request.Failure += _ => Schedule(() => LoadDisplay(Empty()));
api.PerformAsync(request);
}