Skip to content

Commit 3f400ca

Browse files
authored
Merge pull request #1069 from android/tj/scrollbars-typo
Fix typo in app scrollbars
2 parents eb54ec7 + e334a72 commit 3f400ca

File tree

1 file changed

+1
-1
lines changed
  • core/designsystem/src/main/kotlin/com/google/samples/apps/nowinandroid/core/designsystem/component/scrollbar

1 file changed

+1
-1
lines changed

core/designsystem/src/main/kotlin/com/google/samples/apps/nowinandroid/core/designsystem/component/scrollbar/AppScrollbars.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ private fun scrollbarThumbColor(
222222
val pressed by interactionSource.collectIsPressedAsState()
223223
val hovered by interactionSource.collectIsHoveredAsState()
224224
val dragged by interactionSource.collectIsDraggedAsState()
225-
val active = (scrollableState.canScrollForward || scrollableState.canScrollForward) &&
225+
val active = (scrollableState.canScrollForward || scrollableState.canScrollBackward) &&
226226
(pressed || hovered || dragged || scrollableState.isScrollInProgress)
227227

228228
val color = animateColorAsState(

0 commit comments

Comments
 (0)