Przeglądaj źródła

[优化] 优化了默认分类[已读]的逻辑

HapeLee 10 miesięcy temu
rodzic
commit
4ae46386e0

+ 1 - 0
app/src/main/java/io/legado/app/data/dao/BookGroupDao.kt

@@ -50,6 +50,7 @@ interface BookGroupDao {
             SELECT 1 FROM books 
             WHERE totalChapterNum > 0 
             AND durChapterIndex >= totalChapterNum - 1
+            AND durChapterPos != 0
         ))
         
         or (groupId = ${BookGroup.IdError} and exists (select 1 from books where type & ${BookType.updateError} > 0))