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:
parent
a86f06df96
commit
68c37585e5
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user