mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Merge "Replace a useless computation with a constant"
This commit is contained in:
commit
428178aca6
@ -980,7 +980,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
|
|||||||
.setHasMinimalSuggestion(false);
|
.setHasMinimalSuggestion(false);
|
||||||
// When in fullscreen mode, show completions generated by the application
|
// When in fullscreen mode, show completions generated by the application
|
||||||
final SuggestedWords words = builder.build();
|
final SuggestedWords words = builder.build();
|
||||||
final boolean isAutoCorrection = Utils.willAutoCorrect(words);
|
final boolean isAutoCorrection = false;
|
||||||
setSuggestions(words, isAutoCorrection);
|
setSuggestions(words, isAutoCorrection);
|
||||||
setAutoCorrectionIndicator(isAutoCorrection);
|
setAutoCorrectionIndicator(isAutoCorrection);
|
||||||
// TODO: is this the right thing to do? What should we auto-correct to in
|
// TODO: is this the right thing to do? What should we auto-correct to in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user