File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
app/src/main/java/com/osfans/trime/ime/candidates Expand file tree Collapse file tree 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
1515import androidx.core.text.color
1616import androidx.lifecycle.lifecycleScope
1717import androidx.recyclerview.widget.RecyclerView
18- import com.chad.library.adapter4.util.setOnDebouncedItemClick
1918import com.google.android.flexbox.FlexboxLayoutManager
2019import com.osfans.trime.R
2120import com.osfans.trime.daemon.RimeSession
@@ -70,7 +69,7 @@ class CompactCandidateModule(
7069
7170 val adapter by lazy {
7271 CompactCandidateViewAdapter (theme).apply {
73- setOnDebouncedItemClick { _, _, position ->
72+ setOnItemClickListener { _, _, position ->
7473 rime.launchOnReady { it.selectCandidate(before + position) }
7574 }
7675 setOnItemLongClickListener { _, view, position ->
You can’t perform that action at this time.
0 commit comments