File tree 1 file changed +1
-2
lines changed
app/src/main/java/com/osfans/trime/ime/candidates
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ import androidx.core.text.buildSpannedString
15
15
import androidx.core.text.color
16
16
import androidx.lifecycle.lifecycleScope
17
17
import androidx.recyclerview.widget.RecyclerView
18
- import com.chad.library.adapter4.util.setOnDebouncedItemClick
19
18
import com.google.android.flexbox.FlexboxLayoutManager
20
19
import com.osfans.trime.R
21
20
import com.osfans.trime.daemon.RimeSession
@@ -70,7 +69,7 @@ class CompactCandidateModule(
70
69
71
70
val adapter by lazy {
72
71
CompactCandidateViewAdapter (theme).apply {
73
- setOnDebouncedItemClick { _, _, position ->
72
+ setOnItemClickListener { _, _, position ->
74
73
rime.launchOnReady { it.selectCandidate(before + position) }
75
74
}
76
75
setOnItemLongClickListener { _, view, position ->
You can’t perform that action at this time.
0 commit comments