mirror of
https://github.com/mihonapp/mihon.git
synced 2025-01-15 04:37:16 +01:00
- Applied Spotless fixes
This commit is contained in:
parent
c9706f4b50
commit
2370e1cb42
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user