use string.Empty in IconTooltip

This commit is contained in:
Liam DeVoe 2020-03-22 22:06:54 -04:00
parent cb6e602556
commit ea87afd577

View File

@ -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}";
}
}