Skip to content

Commit

Permalink
chore: rebase to dev branch
Browse files Browse the repository at this point in the history
  • Loading branch information
nopdan authored and WhiredPlanck committed Feb 15, 2024
1 parent ed3fe80 commit dfc3be0
Show file tree
Hide file tree
Showing 9 changed files with 88 additions and 1,407 deletions.
2 changes: 1 addition & 1 deletion app/src/main/java/com/osfans/trime/ime/bar/QuickBar.kt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class QuickBar : KoinComponent {
}
with(candidates) {
setCandidateListener(service.textInputManager)
setShowComment(!Rime.getOption("_hide_comment"))
shouldShowComment = !Rime.getOption("_hide_comment")
reset()
}
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/com/osfans/trime/ime/core/InputView.kt
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ class InputView(
is RimeNotification.OptionNotification -> {
when (it.option) {
"_hide_comment" -> {
quickBar.oldCandidateBar.candidates.setShowComment(!it.value)
quickBar.oldCandidateBar.candidates.shouldShowComment = !it.value
}
"_hide_bar",
"_hide_candidate",
Expand Down
Loading

0 comments on commit dfc3be0

Please sign in to comment.