Skip to content

Commit

Permalink
fix: switches weren't updated after switching schema
Browse files Browse the repository at this point in the history
Currently switching schema will trigger the recreating of the input view, so we should eval the always ui state at init.
  • Loading branch information
WhiredPlanck committed Sep 2, 2024
1 parent f99fae1 commit f5fed0d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/main/java/com/osfans/trime/ime/bar/QuickBar.kt
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@ class QuickBar(
add(alwaysUi.root, lParams(matchParent, matchParent))
add(candidateUi.root, lParams(matchParent, matchParent))
add(tabUi.root, lParams(matchParent, matchParent))

evalAlwaysUiState()
}
}

Expand Down

0 comments on commit f5fed0d

Please sign in to comment.