Remove unused key in pinyin alphabet

This commit is contained in:
VictoriousRaptor 2024-06-02 15:21:04 +08:00
parent b10a6e19df
commit b816d1b866
2 changed files with 0 additions and 8 deletions

View file

@ -83,7 +83,6 @@ namespace Flow.Launcher.Infrastructure
map.endConstruct();
var key = resultBuilder.ToString();
map.setKey(key);
return _pinyinCache[content] = (key, map);
}

View file

@ -12,13 +12,6 @@ namespace Flow.Launcher.Infrastructure
private List<int> translatedIndexs = new List<int>();
private int translatedLength = 0;
public string key { get; private set; }
public void setKey(string key)
{
this.key = key;
}
public void AddNewIndex(int originalIndex, int translatedIndex, int length)
{
if (constructed)