Fix CI inspections

This commit is contained in:
Lucas A 2019-08-14 21:52:36 +02:00
parent 46e71e9ead
commit 4d1b1a4022
2 changed files with 5 additions and 3 deletions

View File

@ -8,7 +8,7 @@ namespace osu.Game.Overlays.News
{
public abstract class NewsContent : FillFlowContainer
{
public NewsContent()
protected NewsContent()
{
RelativeSizeAxes = Axes.X;
AutoSizeAxes = Axes.Y;

View File

@ -15,6 +15,8 @@ namespace osu.Game.Overlays
public class NewsOverlay : FullscreenOverlay
{
private NewsHeader header;
//ReSharper disable NotAccessedField.Local
private Container<NewsContent> content;
public readonly Bindable<string> Current = new Bindable<string>(null);
@ -39,11 +41,11 @@ private void load(OsuColour colours)
Direction = FillDirection.Vertical,
Children = new Drawable[]
{
header = new NewsHeader()
header = new NewsHeader
{
ShowFrontPage = ShowFrontPage
},
content = new Container<NewsContent>()
content = new Container<NewsContent>
{
RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y,