Skip to content

Commit

Permalink
Update TachiyomiImageDecoder.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
Jays2Kings committed Jul 5, 2022
1 parent f423ad7 commit 6ae512a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class TachiyomiImageDecoder(private val resources: ImageSource, private val opti
ImageUtil.findImageType(it)
}
return when (type) {
ImageUtil.ImageType.AVIF, ImageUtil.ImageType.JXL -> true
ImageUtil.ImageType.AVIF, ImageUtil.ImageType.JXL -> true
ImageUtil.ImageType.HEIF -> Build.VERSION.SDK_INT < Build.VERSION_CODES.O
else -> false
}
Expand Down

0 comments on commit 6ae512a

Please sign in to comment.