Skip to content

Commit 4d0d3eb

Browse files
committed
[BOOK-212] feat: 도서 기록 조회 OnLoadMore validation 보완
1 parent ebf6cd6 commit 4d0d3eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

feature/detail/src/main/kotlin/com/ninecraft/booket/feature/detail/book/BookDetailPresenter.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ class BookDetailPresenter @AssistedInject constructor(
239239
}
240240

241241
is BookDetailUiEvent.OnLoadMore -> {
242-
if (footerState !is FooterState.Loading && !isLastPage) {
242+
if (uiState != UiState.Loading && footerState !is FooterState.Loading && !isLastPage) {
243243
getReadingRecords(startIndex = currentStartIndex + 1)
244244
}
245245
}

0 commit comments

Comments
 (0)