mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Fix duplicate getSuggestions() call for main dictionary
Change-Id: I092480063452505cdf03dbd83b9c64e535822931
This commit is contained in:
parent
b27959741a
commit
dba77186f7
@ -65,7 +65,7 @@ public class DictionaryCollection extends Dictionary {
|
||||
prevWord, proximityInfo);
|
||||
if (null == suggestions) suggestions = new ArrayList<SuggestedWordInfo>();
|
||||
final int length = dictionaries.size();
|
||||
for (int i = 0; i < length; ++ i) {
|
||||
for (int i = 1; i < length; ++ i) {
|
||||
final ArrayList<SuggestedWordInfo> sugg = dictionaries.get(i).getSuggestions(composer,
|
||||
prevWord, proximityInfo);
|
||||
if (null != sugg) suggestions.addAll(sugg);
|
||||
|
Loading…
x
Reference in New Issue
Block a user