mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-05-14 05:52:47 +00:00
fix broken build
This commit is contained in:
parent
3d74ef342e
commit
6bb49ee1a0
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ class Suggest(private val mDictionaryFacilitator: DictionaryFacilitator) {
|
|||
// If there is an incoming autocorrection, make sure typed word is shown, so user is able to override it.
|
||||
// Otherwise, if the relevant setting is enabled, show the typed word in the middle.
|
||||
val indexOfTypedWord = if (hasAutoCorrection) 2 else 1
|
||||
if ((hasAutoCorrection || Settings.getInstance().current.mCenterSuggestionTextToCommit)
|
||||
if ((hasAutoCorrection || Settings.getInstance().current.mCenterSuggestionTextToEnter)
|
||||
&& suggestionsList.size >= indexOfTypedWord && !TextUtils.isEmpty(typedWordString)) {
|
||||
if (typedWordFirstOccurrenceWordInfo != null) {
|
||||
if (SuggestionStripView.DEBUG_SUGGESTIONS) addDebugInfo(typedWordFirstOccurrenceWordInfo, typedWordString)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue