mirror of
https://github.com/ppy/osu.git
synced 2025-02-14 23:33:23 +08:00
Remove unnecessary backing field
This commit is contained in:
parent
63d48f0c7d
commit
4cdde42228
@ -15,8 +15,6 @@ namespace osu.Game.Overlays.Chat.Selection
|
||||
{
|
||||
public class ChannelSection : Container, IHasFilterableChildren
|
||||
{
|
||||
private readonly OsuSpriteText header;
|
||||
|
||||
public readonly FillFlowContainer<ChannelListItem> ChannelFlow;
|
||||
|
||||
public IEnumerable<IFilterable> FilterableChildren => ChannelFlow.Children;
|
||||
@ -41,7 +39,7 @@ namespace osu.Game.Overlays.Chat.Selection
|
||||
|
||||
Children = new Drawable[]
|
||||
{
|
||||
header = new OsuSpriteText
|
||||
new OsuSpriteText
|
||||
{
|
||||
Font = OsuFont.GetFont(size: 15, weight: FontWeight.Bold),
|
||||
Text = "All Channels".ToUpperInvariant()
|
||||
|
Loading…
Reference in New Issue
Block a user