Skip to content

Commit

Permalink
fix: refresh liquid keyboard's candidates view
Browse files Browse the repository at this point in the history
Fix the issue of liquid keyboard candidate view not updating.
  • Loading branch information
shitlime authored and Bambooin committed Aug 31, 2023
1 parent 0ca3f43 commit e6ed880
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -269,6 +269,7 @@ class LiquidKeyboard(private val context: Context) : ClipboardHelper.OnClipboard
TextInputManager.getInstance().onCandidatePressed(position)
if (Rime.isComposing) {
updateCandidates(Rime.candidatesWithoutSwitch.toList())
notifyDataSetChanged()
keyboardView.scrollToPosition(0)
} else {
service.selectLiquidKeyboard(-1)
Expand Down

0 comments on commit e6ed880

Please sign in to comment.