mirror of
https://github.com/ppy/osu
synced 2024-12-09 08:30:36 +00:00
Fix code styling
This commit is contained in:
parent
6c05329144
commit
3a90aa0b9b
@ -232,8 +232,7 @@ namespace osu.Game.Overlays.Settings.Sections
|
||||
|
||||
private void delete()
|
||||
{
|
||||
if (dialogOverlay != null)
|
||||
dialogOverlay.Push(new SkinDeleteDialog(currentSkin.Value));
|
||||
dialogOverlay?.Push(new SkinDeleteDialog(currentSkin.Value));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -32,7 +32,11 @@ namespace osu.Game.Screens.Select
|
||||
new PopupDialogDangerousButton
|
||||
{
|
||||
Text = @"Yes. Totally. Delete it.",
|
||||
Action = () => {
|
||||
Action = () =>
|
||||
{
|
||||
if (manager == null)
|
||||
return;
|
||||
|
||||
manager.Delete(s);
|
||||
manager.CurrentSkinInfo.Value = DefaultSkin.CreateInfo().ToLiveUnmanaged();
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user