mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +08:00
use string.Empty in IconTooltip
This commit is contained in:
parent
cb6e602556
commit
ea87afd577
@ -1,4 +1,4 @@
|
||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using System;
|
||||
@ -60,7 +60,7 @@ namespace osu.Game.Rulesets.Mods
|
||||
{
|
||||
get
|
||||
{
|
||||
string settingDescription = string.IsNullOrEmpty(SettingDescription) ? "" : $" ({SettingDescription})";
|
||||
string settingDescription = string.IsNullOrEmpty(SettingDescription) ? string.Empty : $" ({SettingDescription})";
|
||||
return $"{Name}{settingDescription}";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user