Skip to content

Commit 711bf18

Browse files
committed
[BOOK-212] chore: uiState 내 isLastPage, currentStartIndex 제거
Ui 에 뿌리는 데이터가 아님
1 parent b2d3836 commit 711bf18

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,6 @@ class BookDetailPresenter @AssistedInject constructor(
249249
bookDetail = bookDetail,
250250
seedsStats = seedsStates,
251251
readingRecords = readingRecords,
252-
currentStartIndex = currentStartIndex,
253-
isLastPage = isLastPage,
254252
isBookUpdateBottomSheetVisible = isBookUpdateBottomSheetVisible,
255253
isRecordSortBottomSheetVisible = isRecordSortBottomSheetVisible,
256254
currentBookStatus = currentBookStatus,

feature/search/src/main/kotlin/com/ninecraft/booket/feature/search/book/BookSearchPresenter.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,6 @@ class BookSearchPresenter @AssistedInject constructor(
219219
recentSearches = recentSearches.toImmutableList(),
220220
searchResult = searchResult,
221221
books = books,
222-
startIndex = currentStartIndex,
223-
isLastPage = isLastPage,
224222
selectedBookIsbn = selectedBookIsbn,
225223
isBookRegisterBottomSheetVisible = isBookRegisterBottomSheetVisible,
226224
selectedBookStatus = selectedBookStatus,

feature/search/src/main/kotlin/com/ninecraft/booket/feature/search/book/BookSearchUiState.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ data class BookSearchUiState(
2626
val recentSearches: ImmutableList<String> = persistentListOf(),
2727
val searchResult: BookSearchModel = BookSearchModel(),
2828
val books: ImmutableList<BookSummaryModel> = persistentListOf(),
29-
val startIndex: Int = 1,
30-
val isLastPage: Boolean = false,
3129
val selectedBookIsbn: String = "",
3230
val isBookRegisterBottomSheetVisible: Boolean = false,
3331
val selectedBookStatus: BookStatus? = null,

0 commit comments

Comments
 (0)