Skip to content

Commit 9af1587

Browse files
committed
feat: hide scroll bars of switcher view
1 parent 687d32b commit 9af1587

File tree

1 file changed

+2
-0
lines changed
  • app/src/main/java/com/osfans/trime/ime/bar/ui/always/switches

1 file changed

+2
-0
lines changed

app/src/main/java/com/osfans/trime/ime/bar/ui/always/switches/SwitchesUi.kt

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ class SwitchesUi(
2929
layoutParams = ViewGroup.LayoutParams(matchParent, matchParent)
3030
layoutManager = horizontalLayoutManager()
3131
adapter = switchesAdapter
32+
isHorizontalScrollBarEnabled = false
33+
isVerticalScrollBarEnabled = false
3234
addItemDecoration(SpacesItemDecoration(dp(theme.generalStyle.candidateSpacing).toInt()))
3335
}
3436

0 commit comments

Comments
 (0)