Merge pull request #1069 from android/tj/scrollbars-typo

Fix typo in app scrollbars
pull/1073/head
Adetunji Dahunsi 1 year ago committed by GitHub
commit 3f400cab1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -222,7 +222,7 @@ private fun scrollbarThumbColor(
val pressed by interactionSource.collectIsPressedAsState()
val hovered by interactionSource.collectIsHoveredAsState()
val dragged by interactionSource.collectIsDraggedAsState()
val active = (scrollableState.canScrollForward || scrollableState.canScrollForward) &&
val active = (scrollableState.canScrollForward || scrollableState.canScrollBackward) &&
(pressed || hovered || dragged || scrollableState.isScrollInProgress)
val color = animateColorAsState(

Loading…
Cancel
Save