2022-10-13 07:39:37 +08:00
|
|
|
// 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.Framework.Graphics.Sprites;
|
|
|
|
using osu.Game.Overlays.Dialog;
|
|
|
|
using osu.Game.Localisation;
|
|
|
|
|
|
|
|
namespace osu.Game.Screens.Select.Carousel
|
|
|
|
{
|
2023-02-28 04:57:59 +08:00
|
|
|
public partial class UpdateLocalConfirmationDialog : DangerousActionDialog
|
2022-10-13 07:39:37 +08:00
|
|
|
{
|
|
|
|
public UpdateLocalConfirmationDialog(Action onConfirm)
|
|
|
|
{
|
|
|
|
HeaderText = PopupDialogStrings.UpdateLocallyModifiedText;
|
|
|
|
BodyText = PopupDialogStrings.UpdateLocallyModifiedDescription;
|
|
|
|
Icon = FontAwesome.Solid.ExclamationTriangle;
|
2023-03-06 03:57:26 +08:00
|
|
|
DangerousAction = onConfirm;
|
2022-10-13 07:39:37 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|