From 1e205007f2350324f507c405395c2314271ecdb8 Mon Sep 17 00:00:00 2001 From: Horis <8674809+821938089@users.noreply.github.com> Date: Sat, 21 Dec 2024 21:16:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/legado/app/ui/book/source/manage/BookSourceActivity.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/ui/book/source/manage/BookSourceActivity.kt b/app/src/main/java/io/legado/app/ui/book/source/manage/BookSourceActivity.kt index f259d3fae..9ee96cf7d 100644 --- a/app/src/main/java/io/legado/app/ui/book/source/manage/BookSourceActivity.kt +++ b/app/src/main/java/io/legado/app/ui/book/source/manage/BookSourceActivity.kt @@ -349,7 +349,8 @@ class BookSourceActivity : VMBaseActivity { getSourceHost(it.bookSourceUrl) == "#" } - .thenBy { getSourceHost(it.bookSourceUrl) }) + .thenBy { getSourceHost(it.bookSourceUrl) } + .thenByDescending { it.lastUpdateTime }) } else if (sortAscending) { when (sort) { BookSourceSort.Weight -> data.sortedBy { it.weight }