Unverified Commit e80ef3fe authored by Leonardo Aramaki's avatar Leonardo Aramaki Committed by GitHub

Merge pull request #1041 from RocketChat/fix/swipe-swapping

[FIX] Broken swype by removing the re-enable suggestions code
parents 40c02838 284fcdc3
...@@ -203,11 +203,6 @@ class SuggestionsView : FrameLayout, TextWatcher { ...@@ -203,11 +203,6 @@ class SuggestionsView : FrameLayout, TextWatcher {
completionOffset.set(NO_STATE_INDEX) completionOffset.set(NO_STATE_INDEX)
} }
collapse() collapse()
// Re-enable keyboard suggestions.
val editText = editor?.get()
if (editText != null) {
editText.inputType = editText.inputType and InputType.TYPE_TEXT_VARIATION_FILTER.inv()
}
} }
private fun insertSuggestionOnEditor(item: SuggestionModel) { private fun insertSuggestionOnEditor(item: SuggestionModel) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment