Remove unnecessary local variable

This commit is contained in:
Bartłomiej Dach 2021-11-06 15:20:29 +01:00
parent 51e7b9950e
commit c40f887492
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

@ -75,9 +75,7 @@ namespace osu.Game.Overlays.Changelog
protected override Drawable CreateBackground() => new OverlayHeaderBackground(@"Headers/changelog");
protected override Drawable CreateContent()
{
var content = new Container
protected override Drawable CreateContent() => new Container
{
RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y,
@ -101,9 +99,6 @@ namespace osu.Game.Overlays.Changelog
}
};
return content;
}
protected override OverlayTitle CreateTitle() => new ChangelogHeaderTitle();
public void Populate(List<APIUpdateStream> streams)