mirror of
https://github.com/gedoor/legado.git
synced 2024-08-30 09:23:26 +08:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
9926de9a84
@ -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) {//使用内置模板
|
||||
|
Loading…
Reference in New Issue
Block a user