1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 02:43:19 +08:00

Use string.Empty instead of default

This commit is contained in:
Dean Herbert 2023-02-10 16:22:06 +09:00
parent a86f06df96
commit 68c37585e5

View File

@ -19,7 +19,7 @@ namespace osu.Game.Users.Drawables
public override LocalisableString TooltipText public override LocalisableString TooltipText
{ {
get => Enabled.Value ? tooltip : default; get => Enabled.Value ? tooltip : string.Empty;
set => tooltip = value; set => tooltip = value;
} }