This commit is contained in:
lunaticbum 2024-08-26 18:35:11 +09:00
parent 90e28a9b45
commit 3b1c4a6403

View File

@ -119,7 +119,10 @@ class Intro : Base() , MainControllInterface, PagedTextViewInterface {
mBaseWebContentsViewer?.webview?.url?.let {
Uri.parse(it).path?.let {
HistoryManager.getBookInfos(it, {
it?.let { showList(it) }
it?.let {
it.pages.sortBy { it.pathUrl }
showList(it)
}
})
}
}
@ -383,7 +386,9 @@ class Intro : Base() , MainControllInterface, PagedTextViewInterface {
for (item in infos.pages) {
items.add(item)
}
items.sortBy { it.chapterNum }
items.sortBy { it.chapterID }
DefaultList.showDefaultList(
this@Intro,
"현제는 ${currentTitle} - ${(infos.pages.size ?: 0) - currentChapter} -> 다른화를 골라",