mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
优化
This commit is contained in:
@@ -354,12 +354,6 @@ class CacheViewModel(application: Application) : BaseViewModel(application) {
|
||||
}
|
||||
|
||||
private fun setAssets(doc: DocumentFile, book: Book, epubBook: EpubBook): String {
|
||||
if (!(AppConst.isPlayChannel || appCtx.packageName.contains(
|
||||
"debug",
|
||||
true
|
||||
))
|
||||
) return setAssets(book, epubBook)
|
||||
|
||||
var contentModel = ""
|
||||
DocumentUtils.getDirDocument(doc, "Asset").let { customPath ->
|
||||
if (customPath == null) {//使用内置模板
|
||||
|
||||
Reference in New Issue
Block a user