Skip to content

Commit 3ad53c2

Browse files
committed
april only
1 parent c57867e commit 3ad53c2

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

osu.Game/Overlays/SettingsOverlay.cs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
#nullable disable
55

6+
using System;
67
using System.Collections.Generic;
78
using System.Linq;
89
using osu.Framework.Allocation;
@@ -30,7 +31,7 @@ public partial class SettingsOverlay : SettingsPanel, INamedOverlayComponent
3031

3132
protected override IEnumerable<SettingsSection> CreateSections()
3233
{
33-
return new List<SettingsSection>
34+
var sections = new List<SettingsSection>
3435
{
3536
// This list should be kept in sync with ScreenBehaviour.
3637
new GeneralSection(),
@@ -42,10 +43,15 @@ protected override IEnumerable<SettingsSection> CreateSections()
4243
new AudioSection(),
4344
new GraphicsSection(),
4445
new OnlineSection(),
45-
new AfToggleSection(),
4646
new MaintenanceSection(),
4747
new DebugSection()
4848
};
49+
50+
// var today = DateTimeOffset.Now;
51+
// if (today.Month == 4 && today.Day == 1)
52+
sections.Insert(9, new AfToggleSection());
53+
54+
return sections;
4955
}
5056

5157
private readonly List<SettingsSubPanel> subPanels = new List<SettingsSubPanel>();

0 commit comments

Comments
 (0)