mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Remove functions with get-only properties
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user