Add default constructor values

This commit is contained in:
Isira Seneviratne
2023-08-02 05:29:36 +05:30
committed by Koitharu
parent bf1b8e8b75
commit 7b090c4ccd
8 changed files with 19 additions and 24 deletions

View File

@@ -95,7 +95,7 @@ class PagesThumbnailsViewModel @Inject constructor(
for (page in snapshot) {
if (page.chapterId != previousChapterId) {
chaptersLoader.peekChapter(page.chapterId)?.let {
add(ListHeader(it.name, 0, null))
add(ListHeader(it.name))
}
previousChapterId = page.chapterId
}