mirror of
https://github.com/mihonapp/mihon.git
synced 2025-03-15 02:53:04 +00:00
- Relocate variable for better lecture flow
This commit is contained in:
parent
e19d302f5e
commit
701a77a2d7
1 changed files with 2 additions and 2 deletions
|
@ -28,10 +28,10 @@ class TachiyomiImageDecoder(private val resources: ImageSource, private val opti
|
|||
ImageDecoder.newInstance(it.inputStream(), options.cropBorders, displayProfile)
|
||||
}
|
||||
|
||||
val fallbackForLongStrips by lazy { Injekt.get<BasePreferences>().fallbackForLongStrips().get() }
|
||||
|
||||
check(decoder != null && decoder.width > 0 && decoder.height > 0) { "Failed to initialize decoder" }
|
||||
|
||||
val fallbackForLongStrips by lazy { Injekt.get<BasePreferences>().fallbackForLongStrips().get() }
|
||||
|
||||
val srcWidth = decoder.width
|
||||
val srcHeight = decoder.height
|
||||
|
||||
|
|
Loading…
Reference in a new issue