Commit 33867d04 authored by Him188's avatar Him188

Compatibility improvement

parent cf7e3252
...@@ -81,6 +81,7 @@ private fun calculateImageMd5ByImageId(imageId: String): ByteArray { ...@@ -81,6 +81,7 @@ private fun calculateImageMd5ByImageId(imageId: String): ByteArray {
.substringAfter('{') .substringAfter('{')
.substringBefore('}') .substringBefore('}')
.replace("-", "") .replace("-", "")
.take(16 * 2)
.chunkedHexToBytes() .chunkedHexToBytes()
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment