feat: 优化代码

pull/190/head
kunfei 5 years ago
parent d478685d58
commit 657a8ea159
  1. 1
      app/src/main/java/io/legado/app/model/localBook/AnalyzeTxtFile.kt

@ -201,6 +201,7 @@ class AnalyzeTxtFile {
bean.url = (MD5Utils.md5Encode16(book.originName + i + bean.title) ?: "") bean.url = (MD5Utils.md5Encode16(book.originName + i + bean.title) ?: "")
} }
book.latestChapterTitle = toc.last().title book.latestChapterTitle = toc.last().title
book.totalChapterNum = toc.size
System.gc() System.gc()
System.runFinalization() System.runFinalization()

Loading…
Cancel
Save