mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Merge "Temporary don't use "looks type" for comming rename cl."
This commit is contained in:
commit
e486290013
@ -39,7 +39,7 @@ public class AndroidSpellCheckerService extends SpellCheckerService {
|
|||||||
String[] candidates1 = new String[] {text, "candidateA", "candidateB"};
|
String[] candidates1 = new String[] {text, "candidateA", "candidateB"};
|
||||||
final int textLength = textInfo.getText().length() % 3;
|
final int textLength = textInfo.getText().length() % 3;
|
||||||
if (textLength % 3 == 0) {
|
if (textLength % 3 == 0) {
|
||||||
return new SuggestionsInfo(SuggestionsInfo.RESULT_ATTR_LOOKS_TYPO
|
return new SuggestionsInfo(2
|
||||||
| SuggestionsInfo.RESULT_ATTR_IN_THE_DICTIONARY, candidates0);
|
| SuggestionsInfo.RESULT_ATTR_IN_THE_DICTIONARY, candidates0);
|
||||||
} else if (textLength % 3 == 1) {
|
} else if (textLength % 3 == 1) {
|
||||||
return new SuggestionsInfo(SuggestionsInfo.RESULT_ATTR_IN_THE_DICTIONARY, candidates1);
|
return new SuggestionsInfo(SuggestionsInfo.RESULT_ATTR_IN_THE_DICTIONARY, candidates1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user