Code quality

This commit is contained in:
Jai Sharma 2022-05-27 20:12:00 +01:00
parent e950c8c1d0
commit c5845f307a

View File

@ -144,9 +144,7 @@ namespace osu.Game.Overlays.Chat.ChannelList
private class ChannelGroup : FillFlowContainer
{
public FillFlowContainer<ChannelListItem> ItemFlow => flow;
private readonly FillFlowContainer<ChannelListItem> flow;
public readonly FillFlowContainer<ChannelListItem> ItemFlow;
public ChannelGroup(LocalisableString label)
{
@ -163,7 +161,7 @@ namespace osu.Game.Overlays.Chat.ChannelList
Margin = new MarginPadding { Left = 18, Bottom = 5 },
Font = OsuFont.Torus.With(size: 12, weight: FontWeight.SemiBold),
},
flow = new FillFlowContainer<ChannelListItem>
ItemFlow = new FillFlowContainer<ChannelListItem>
{
Direction = FillDirection.Vertical,
RelativeSizeAxes = Axes.X,