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