Remove 2025 april fools

This commit is contained in:
goaaats 2025-04-01 23:16:28 +02:00
parent 5eee678899
commit 95bac801b2

View file

@ -140,13 +140,6 @@ internal class PluginInstallerWindow : Window, IDisposable
private string? staleDalamudNewVersion = null;
private int? aprilFoolsLineIdx = null;
private string[] aprilFoolsLines =
[
"We sincerely apologize for this year's April Fool's joke.\nWe hope you enjoyed it, and we promise to do better next year.",
"Please do not feed the ducks.\nThey are not ducks.",
];
/// <summary>
/// Initializes a new instance of the <see cref="PluginInstallerWindow"/> class.
/// </summary>
@ -1620,14 +1613,6 @@ internal class PluginInstallerWindow : Window, IDisposable
ImGuiHelpers.ScaledDummy(10);
}
if (DateTime.Now is { Day: 1, Month: 4 })
{
ImGuiHelpers.ScaledDummy(10);
this.aprilFoolsLineIdx ??= new Random().Next(0, this.aprilFoolsLines.Length);
DrawLinesCentered(this.aprilFoolsLines[this.aprilFoolsLineIdx.Value]);
ImGuiHelpers.ScaledDummy(10);
}
if (this.staleDalamudNewVersion != null)
{
DrawWarningIcon();