- Applied Spotless fixes

This commit is contained in:
Raikuha 2024-11-06 18:42:25 -03:00
parent c9706f4b50
commit 2370e1cb42

View file

@ -56,7 +56,7 @@ class TachiyomiImageDecoder(private val resources: ImageSource, private val opti
maxOf(bitmap.width, bitmap.height) <= GLUtil.maxTextureSize maxOf(bitmap.width, bitmap.height) <= GLUtil.maxTextureSize
) { ) {
if ( if (
!fallbackForLongStrips || bitmap.width < dstWidth && bitmap.height*1.1 <= GLUtil.maxTextureSize !fallbackForLongStrips || bitmap.width < dstWidth && bitmap.height * 1.1 <= GLUtil.maxTextureSize
) { ) {
val hwBitmap = bitmap.copy(Bitmap.Config.HARDWARE, false) val hwBitmap = bitmap.copy(Bitmap.Config.HARDWARE, false)
if (hwBitmap != null) { if (hwBitmap != null) {