mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Fix code styling
This commit is contained in:
@ -232,8 +232,7 @@ namespace osu.Game.Overlays.Settings.Sections
|
|||||||
|
|
||||||
private void delete()
|
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
|
new PopupDialogDangerousButton
|
||||||
{
|
{
|
||||||
Text = @"Yes. Totally. Delete it.",
|
Text = @"Yes. Totally. Delete it.",
|
||||||
Action = () => {
|
Action = () =>
|
||||||
|
{
|
||||||
|
if (manager == null)
|
||||||
|
return;
|
||||||
|
|
||||||
manager.Delete(s);
|
manager.Delete(s);
|
||||||
manager.CurrentSkinInfo.Value = DefaultSkin.CreateInfo().ToLiveUnmanaged();
|
manager.CurrentSkinInfo.Value = DefaultSkin.CreateInfo().ToLiveUnmanaged();
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user