Skip to content

Commit

Permalink
feat: hide scroll bars of switcher view
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiredPlanck committed Oct 19, 2024
1 parent 687d32b commit 9af1587
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ class SwitchesUi(
layoutParams = ViewGroup.LayoutParams(matchParent, matchParent)
layoutManager = horizontalLayoutManager()
adapter = switchesAdapter
isHorizontalScrollBarEnabled = false
isVerticalScrollBarEnabled = false
addItemDecoration(SpacesItemDecoration(dp(theme.generalStyle.candidateSpacing).toInt()))
}

Expand Down

0 comments on commit 9af1587

Please sign in to comment.