mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
fixup the reduced code due to testing
This commit is contained in:
parent
4ebfba76a3
commit
dd2d3c68c1
1 changed files with 4 additions and 2 deletions
|
|
@ -36,8 +36,8 @@ namespace Flow.Launcher.Infrastructure
|
|||
{
|
||||
if (WordsHelper.HasChinese(content))
|
||||
{
|
||||
var result = WordsHelper.GetPinyin(content,";");
|
||||
result = GetFirstPinyinChar(result) + result.Replace(";","");
|
||||
var result = WordsHelper.GetPinyin(content, ";");
|
||||
result = GetFirstPinyinChar(result) + result.Replace(";", "");
|
||||
_pinyinCache[content] = result;
|
||||
return result;
|
||||
}
|
||||
|
|
@ -46,6 +46,8 @@ namespace Flow.Launcher.Infrastructure
|
|||
return content;
|
||||
}
|
||||
}
|
||||
else
|
||||
return _pinyinCache[content];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue