Skip to content

Commit

Permalink
some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
T8RIN committed Feb 14, 2024
1 parent 70b943c commit b83e0a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ internal class AndroidImageCompressor @Inject constructor(
val heifCoder = HeifCoder(context)
val jxlCoder = JxlCoder()

return@withContext when (imageFormat) {
when (imageFormat) {
ImageFormat.Bmp -> BMPCompressor.compress(image)
ImageFormat.Jpeg, ImageFormat.Jpg -> {
val out = ByteArrayOutputStream()
Expand Down

0 comments on commit b83e0a3

Please sign in to comment.