mirror of
https://github.com/gedoor/legado.git
synced 2024-07-06 23:47:49 +08:00
优化
This commit is contained in:
parent
dcc01ec921
commit
593c307b87
@ -171,7 +171,7 @@ object BookHelp {
|
||||
ImageUtils.decode(
|
||||
src, bytes, isCover = false, bookSource, book
|
||||
)?.let {
|
||||
if (!checkImage(bytes)) {
|
||||
if (!checkImage(it)) {
|
||||
throw NoStackTraceException("数据异常")
|
||||
}
|
||||
FileUtils.createFileIfNotExist(
|
||||
|
Loading…
Reference in New Issue
Block a user