This commit is contained in:
Andrei Zavatski
2019-11-20 19:42:57 +03:00
parent e820ddd3e8
commit 7d8252183e
2 changed files with 3 additions and 8 deletions

View File

@ -76,10 +76,7 @@ namespace osu.Game.Overlays.Settings
}
}
public virtual IEnumerable<string> FilterTerms => Keywords == null ? new[] { LabelText } : new List<string>(Keywords)
{
LabelText
}.ToArray();
public virtual IEnumerable<string> FilterTerms => Keywords == null ? new[] { LabelText } : new List<string>(Keywords) { LabelText }.ToArray();
public IEnumerable<string> Keywords { get; set; }