Use char overloads for string methods

This commit is contained in:
Berkan Diler
2020-10-16 11:52:29 +02:00
parent cc11283143
commit fe3a23750c
7 changed files with 7 additions and 7 deletions

View File

@ -148,7 +148,7 @@ namespace osu.Game.Overlays.Profile.Header
if (string.IsNullOrEmpty(content)) return false;
// newlines could be contained in API returned user content.
content = content.Replace("\n", " ");
content = content.Replace('\n', ' ');
bottomLinkContainer.AddIcon(icon, text =>
{