We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9648d62 commit 8e4f243Copy full SHA for 8e4f243
feature/search/src/main/kotlin/com/ninecraft/booket/feature/search/SearchPresenter.kt
@@ -95,7 +95,7 @@ class SearchPresenter @AssistedInject constructor(
95
96
is SearchUiEvent.OnLoadMore -> {
97
if (footerState !is FooterState.Loading && !isLastPage && queryState.text.toString().isNotEmpty()) {
98
- searchBooks(query = queryState.text.toString(), startIndex = currentStartIndex + PAGE_SIZE)
+ searchBooks(query = queryState.text.toString(), startIndex = currentStartIndex + 1)
99
}
100
101
0 commit comments