mirror of
https://github.com/ppy/osu
synced 2025-01-15 18:41:14 +00:00
load empty page when fail
This commit is contained in:
parent
1ad3aee126
commit
4c8f19af69
@ -47,6 +47,7 @@ namespace osu.Game.Overlays
|
||||
Loading.Show();
|
||||
|
||||
request.Success += response => Schedule(() => onSuccess(response));
|
||||
request.Failure += _ => Schedule(() => LoadDisplay(Empty()));
|
||||
|
||||
api.PerformAsync(request);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user