Warning Fixes

This commit is contained in:
Andrey Zavadskiy
2017-02-09 16:18:08 +03:00
parent 60e206e587
commit e06aa44c4c
10 changed files with 16 additions and 22 deletions

View File

@ -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)
},