mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
am 28f73ef3
: Merge "Reinstate putting shortcut-only entries in the dictionary" into jb-mr1-dev
* commit '28f73ef3d9ba873624bb5b58f84f65b96628c877': Reinstate putting shortcut-only entries in the dictionary
This commit is contained in:
commit
36e2a3bd49
@ -90,6 +90,10 @@ public class XmlDictInputOutput {
|
||||
|
||||
public FusionDictionary getFinalDictionary() {
|
||||
final FusionDictionary dict = mDictionary;
|
||||
for (final String shortcutOnly : mShortcutsMap.keySet()) {
|
||||
if (dict.hasWord(shortcutOnly)) continue;
|
||||
dict.add(shortcutOnly, 0, mShortcutsMap.get(shortcutOnly));
|
||||
}
|
||||
mDictionary = null;
|
||||
mShortcutsMap.clear();
|
||||
mWord = "";
|
||||
|
Loading…
Reference in New Issue
Block a user