mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 15:44:04 +09:00
Warning Fixes
This commit is contained in:
@ -16,7 +16,7 @@ namespace osu.Game.Overlays.Options.Sections
|
||||
{
|
||||
base.Children = new Drawable[]
|
||||
{
|
||||
new Gameplay.GeneralOptions(),
|
||||
new GeneralOptions(),
|
||||
new SongSelectOptions(),
|
||||
};
|
||||
}
|
||||
|
@ -91,9 +91,6 @@ namespace osu.Game.Overlays.Options.Sections.General
|
||||
private TextBox password;
|
||||
private APIAccess api;
|
||||
|
||||
private OsuCheckbox saveUsername;
|
||||
private OsuCheckbox savePassword;
|
||||
|
||||
private void performLogin()
|
||||
{
|
||||
if (!string.IsNullOrEmpty(username.Text) && !string.IsNullOrEmpty(password.Text))
|
||||
@ -121,12 +118,12 @@ namespace osu.Game.Overlays.Options.Sections.General
|
||||
PlaceholderText = "Password",
|
||||
RelativeSizeAxes = Axes.X
|
||||
},
|
||||
saveUsername = new OsuCheckbox
|
||||
new OsuCheckbox
|
||||
{
|
||||
LabelText = "Remember username",
|
||||
Bindable = config.GetBindable<bool>(OsuConfig.SaveUsername),
|
||||
},
|
||||
savePassword = new OsuCheckbox
|
||||
new OsuCheckbox
|
||||
{
|
||||
LabelText = "Stay logged in",
|
||||
Bindable = config.GetBindable<bool>(OsuConfig.SavePassword),
|
||||
|
@ -10,8 +10,6 @@ namespace osu.Game.Overlays.Options.Sections.Online
|
||||
{
|
||||
public class InGameChatOptions : OptionsSubsection
|
||||
{
|
||||
private OptionTextBox chatIgnoreList;
|
||||
private OptionTextBox chatHighlightWords;
|
||||
protected override string Header => "Chat";
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
@ -40,12 +38,12 @@ namespace osu.Game.Overlays.Options.Sections.Online
|
||||
Bindable = config.GetBindable<bool>(OsuConfig.BlockNonFriendPM)
|
||||
},
|
||||
new OptionLabel { Text = "Chat ignore list (space-seperated list)" },
|
||||
chatIgnoreList = new OptionTextBox {
|
||||
new OptionTextBox {
|
||||
RelativeSizeAxes = Axes.X,
|
||||
Bindable = config.GetBindable<string>(OsuConfig.IgnoreList)
|
||||
},
|
||||
new OptionLabel { Text = "Chat highlight words (space-seperated list)" },
|
||||
chatHighlightWords = new OptionTextBox {
|
||||
new OptionTextBox {
|
||||
RelativeSizeAxes = Axes.X,
|
||||
Bindable = config.GetBindable<string>(OsuConfig.HighlightWords)
|
||||
},
|
||||
|
Reference in New Issue
Block a user