|
|
@ -114,6 +114,7 @@ object ImageProvider { |
|
|
|
): Bitmap { |
|
|
|
): Bitmap { |
|
|
|
//src为空白时 可能被净化替换掉了 或者规则失效 |
|
|
|
//src为空白时 可能被净化替换掉了 或者规则失效 |
|
|
|
if (book.getUseReplaceRule() && src.isBlank()) { |
|
|
|
if (book.getUseReplaceRule() && src.isBlank()) { |
|
|
|
|
|
|
|
book.setUseReplaceRule(false) |
|
|
|
appCtx.toastOnUi(R.string.error_image_url_empty) |
|
|
|
appCtx.toastOnUi(R.string.error_image_url_empty) |
|
|
|
} |
|
|
|
} |
|
|
|
val vFile = BookHelp.getImage(book, src) |
|
|
|
val vFile = BookHelp.getImage(book, src) |
|
|
|