|
|
@ -49,7 +49,7 @@ object ImageProvider { |
|
|
|
out.close() |
|
|
|
out.close() |
|
|
|
} |
|
|
|
} |
|
|
|
} else if (!onUi) { |
|
|
|
} else if (!onUi) { |
|
|
|
HttpHelper.getBytes(src, src)?.let { |
|
|
|
HttpHelper.getBytes(src, baseUrl)?.let { |
|
|
|
FileUtils.createFileIfNotExist(vFile.absolutePath).writeBytes(it) |
|
|
|
FileUtils.createFileIfNotExist(vFile.absolutePath).writeBytes(it) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -87,4 +87,4 @@ object ImageProvider { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|