mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
change new string to string.concat()
This commit is contained in:
parent
3454dc6d74
commit
d17621cd2e
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ namespace Flow.Launcher.Infrastructure
|
|||
|
||||
private string GetFirstPinyinChar(string content)
|
||||
{
|
||||
return new string(content.Split(";").Select(c => c.First()).ToArray());
|
||||
return string.Concat(content.Split(';').Select(x => x.First()));
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue