Remove functions with get-only properties

This commit is contained in:
Andrei Zavatski
2020-03-04 00:39:12 +03:00
parent 17f2baf600
commit 6fca3e5a46
3 changed files with 11 additions and 11 deletions

View File

@ -17,11 +17,11 @@ namespace osu.Game.Overlays.Changelog
Width *= 2;
}
protected override string GetMainText() => Value.DisplayName;
protected override string GetMainText => Value.DisplayName;
protected override string GetAdditionalText() => Value.LatestBuild.DisplayVersion;
protected override string GetAdditionalText => Value.LatestBuild.DisplayVersion;
protected override string GetInfoText() => Value.LatestBuild.Users > 0 ? $"{"user".ToQuantity(Value.LatestBuild.Users, "N0")} online" : null;
protected override string GetInfoText => Value.LatestBuild.Users > 0 ? $"{"user".ToQuantity(Value.LatestBuild.Users, "N0")} online" : null;
protected override Color4 GetBarColour(OsuColour colours) => Value.Colour;
}