diff --git a/app/src/common/shared/com/igalia/wolvic/ui/views/CustomFastScroller.java b/app/src/common/shared/com/igalia/wolvic/ui/views/CustomFastScroller.java index f4682ccf40..a3dd1cbd9e 100644 --- a/app/src/common/shared/com/igalia/wolvic/ui/views/CustomFastScroller.java +++ b/app/src/common/shared/com/igalia/wolvic/ui/views/CustomFastScroller.java @@ -361,7 +361,7 @@ void updateScrollPosition(int offsetX, int offsetY) { int verticalContentLength = mRecyclerView.computeVerticalScrollRange(); int verticalVisibleLength = mRecyclerViewHeight; mNeedVerticalScrollbar = verticalContentLength - verticalVisibleLength > 0 - && mRecyclerViewHeight >= mScrollbarMinimumRange || mNeedHorizontalScrollbar; + && mRecyclerViewHeight >= mScrollbarMinimumRange || mNeedVerticalScrollbar; int horizontalContentLength = mRecyclerView.computeHorizontalScrollRange(); int horizontalVisibleLength = mRecyclerViewWidth;