1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-07 15:37:44 +08:00

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
617 B
C#
Raw Normal View History

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Game.Overlays.Dialog;
2023-07-21 21:17:14 +02:00
using osu.Game.Tournament.Models;
namespace osu.Game.Tournament.Screens.Editors.Components
{
public partial class DeleteRoundDialog : DeletionDialog
{
2023-07-21 21:17:14 +02:00
public DeleteRoundDialog(TournamentRound round, Action action)
{
2023-07-21 21:17:14 +02:00
HeaderText = round.Name.Value.Length > 0 ? $@"Delete round ""{round.Name.Value}""?" : @"Delete unnamed round?";
DangerousAction = action;
}
}
}