mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-06 00:50:13 +08:00
fix: BufferedImage not found on Android
This commit is contained in:
parent
d80ab1608a
commit
ff4739f57e
@ -24,8 +24,8 @@ internal actual class DeferredReusableInput actual constructor(
|
||||
is InputStream -> strategy.newImageCache(input)
|
||||
is ByteArray -> strategy.newImageCache(input)
|
||||
is Input -> strategy.newImageCache(input)
|
||||
is BufferedImage -> strategy.newImageCache(input, extraArg as String)
|
||||
is URL -> strategy.newImageCache(input)
|
||||
is BufferedImage -> strategy.newImageCache(input, extraArg as String)
|
||||
else -> error("Internal error: unsupported DeferredReusableInput.input: ${input::class.qualifiedName}")
|
||||
}.input
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user