From 3b1c4a6403d432ef99baba3d99d10e652ca0d8f6 Mon Sep 17 00:00:00 2001 From: lunaticbum <> Date: Mon, 26 Aug 2024 18:35:11 +0900 Subject: [PATCH] ... --- .../main/java/com/mime/dualscreenview/activity/Intro.kt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/mime/dualscreenview/activity/Intro.kt b/app/src/main/java/com/mime/dualscreenview/activity/Intro.kt index 8a5a29e..b69abf1 100644 --- a/app/src/main/java/com/mime/dualscreenview/activity/Intro.kt +++ b/app/src/main/java/com/mime/dualscreenview/activity/Intro.kt @@ -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} -> 다른화를 골라",