Combine settings strings to read from same location

This commit is contained in:
Dean Herbert 2020-09-03 16:32:43 +09:00
parent 2fac0a180e
commit 0d1674ca5e
1 changed files with 3 additions and 3 deletions

View File

@ -16,8 +16,8 @@ namespace osu.Game.Overlays
public class SettingsOverlay : SettingsPanel, INamedOverlayComponent
{
public string IconTexture => "Icons/Hexacons/settings";
public string Title => "Settings";
public string Description => "Change your settings";
public string Title => "settings";
public string Description => "Change the way osu! behaves";
protected override IEnumerable<SettingsSection> CreateSections() => new SettingsSection[]
{
@ -34,7 +34,7 @@ public class SettingsOverlay : SettingsPanel, INamedOverlayComponent
private readonly List<SettingsSubPanel> subPanels = new List<SettingsSubPanel>();
protected override Drawable CreateHeader() => new SettingsHeader("settings", "Change the way osu! behaves");
protected override Drawable CreateHeader() => new SettingsHeader(Title, Description);
protected override Drawable CreateFooter() => new SettingsFooter();
public SettingsOverlay()