app/src/main/java/org/pixeldroid/app/utils/BlurHashDecoder.kt
Method decode
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private fun decode(blurHash: String?, width: Int?, height: Int?, punch: Float = 1f): Bitmap? {
if (blurHash == null || width == null || height == null || blurHash.length < 6) {
return null
}
require(width > 0) { "Width must be greater than zero" }
Method composeBitmap
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
width: Int, height: Int,
numCompX: Int, numCompY: Int,
colors: Array<FloatArray>