|
|
|
@ -251,9 +251,6 @@ object BookHelp { |
|
|
|
|
* 删除章节内容 |
|
|
|
|
*/ |
|
|
|
|
fun delContent(book: Book, bookChapter: BookChapter) { |
|
|
|
|
if (book.isLocalTxt()) { |
|
|
|
|
return |
|
|
|
|
} else { |
|
|
|
|
FileUtils.createFileIfNotExist( |
|
|
|
|
downloadDir, |
|
|
|
|
cacheFolderName, |
|
|
|
@ -261,7 +258,6 @@ object BookHelp { |
|
|
|
|
bookChapter.getFileName() |
|
|
|
|
).delete() |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 格式化书名 |
|
|
|
|