mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 21:13:01 +08:00
Add null check for notification overlay
This commit is contained in:
parent
dfd5c88075
commit
3903e59f2f
@ -75,7 +75,7 @@ namespace osu.Game.Overlays.BeatmapSet.Buttons
|
||||
|
||||
request.Failure += e =>
|
||||
{
|
||||
notifications.Post(new SimpleNotification
|
||||
notifications?.Post(new SimpleNotification
|
||||
{
|
||||
Text = e.Message,
|
||||
Icon = FontAwesome.Solid.Times,
|
||||
|
Loading…
Reference in New Issue
Block a user