1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-20 18:43:04 +08:00

Move dialog class location

This commit is contained in:
Salman Alshamrani 2025-01-03 00:27:21 -05:00
parent 039800550c
commit c40371c052

View File

@ -310,25 +310,6 @@ namespace osu.Game.Screens.Menu
return originalAction.Invoke();
}
internal partial class MobileDisclaimerDialog : PopupDialog
{
public MobileDisclaimerDialog()
{
HeaderText = "Mobile disclaimer";
BodyText = "We're releasing this for your enjoyment, but PC is still our focus and mobile is hard to support.\n\nPlease bear with us as we continue to improve the experience!";
Icon = FontAwesome.Solid.Mobile;
Buttons = new PopupDialogButton[]
{
new PopupDialogOkButton
{
Text = "Alright!",
},
};
}
}
protected override void LogoSuspending(OsuLogo logo)
{
var seq = logo.FadeOut(300, Easing.InSine)
@ -474,5 +455,24 @@ namespace osu.Game.Screens.Menu
public void OnReleased(KeyBindingReleaseEvent<GlobalAction> e)
{
}
private partial class MobileDisclaimerDialog : PopupDialog
{
public MobileDisclaimerDialog()
{
HeaderText = "Mobile disclaimer";
BodyText = "We're releasing this for your enjoyment, but PC is still our focus and mobile is hard to support.\n\nPlease bear with us as we continue to improve the experience!";
Icon = FontAwesome.Solid.Mobile;
Buttons = new PopupDialogButton[]
{
new PopupDialogOkButton
{
Text = "Alright!",
},
};
}
}
}
}