Fix ambiguous .use call

This commit is contained in:
HoshinoTented 2020-12-04 13:18:41 +08:00 committed by Him188
parent 1cc40bd95d
commit 1a990e5c57

View File

@ -54,6 +54,7 @@ public class ExternalImage internal constructor(
val hex = input.asInput().use {
it.readBytes(8).toUHexString("")
}
return@lazy hex.detectFormatName()
}