mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Update SettingsSubsection.Header
to accept a LocalisableString
This commit is contained in:
@ -11,7 +11,7 @@ namespace osu.Game.Overlays.Settings.Sections.UserInterface
|
||||
{
|
||||
public class GeneralSettings : SettingsSubsection
|
||||
{
|
||||
protected override string Header => "General";
|
||||
protected override LocalisableString Header => "General";
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(OsuConfigManager config)
|
||||
|
@ -4,6 +4,7 @@
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Bindables;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Localisation;
|
||||
using osu.Game.Configuration;
|
||||
using osu.Game.Online.API;
|
||||
using osu.Game.Users;
|
||||
@ -12,7 +13,7 @@ namespace osu.Game.Overlays.Settings.Sections.UserInterface
|
||||
{
|
||||
public class MainMenuSettings : SettingsSubsection
|
||||
{
|
||||
protected override string Header => "Main Menu";
|
||||
protected override LocalisableString Header => "Main Menu";
|
||||
|
||||
private IBindable<User> user;
|
||||
|
||||
|
@ -16,7 +16,7 @@ namespace osu.Game.Overlays.Settings.Sections.UserInterface
|
||||
private Bindable<double> minStars;
|
||||
private Bindable<double> maxStars;
|
||||
|
||||
protected override string Header => "Song Select";
|
||||
protected override LocalisableString Header => "Song Select";
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(OsuConfigManager config)
|
||||
|
Reference in New Issue
Block a user