diff --git a/app/src/main/java/me/ash/reader/ui/ext/LazyListStateExt.kt b/app/src/main/java/me/ash/reader/ui/ext/LazyListStateExt.kt index dccea7c..0ea5db1 100644 --- a/app/src/main/java/me/ash/reader/ui/ext/LazyListStateExt.kt +++ b/app/src/main/java/me/ash/reader/ui/ext/LazyListStateExt.kt @@ -45,7 +45,7 @@ fun LazyListState.isScrollDown(): Boolean { if (isScrollInProgress) { isScrollDown = when { firstVisibleItemIndex > preItemIndex -> true - firstVisibleItemScrollOffset < preItemIndex -> false + firstVisibleItemIndex < preItemIndex -> false else -> firstVisibleItemScrollOffset > preScrollStartOffset } } else {