Reduce image target size since we are using fill
This commit is contained in:
1 parent
900c5ed007
commit
c07d9da7b0
1 file changed
+2
-2
@@ -85,8 +85,8 @@ class Image private constructor(drawable: Drawable, private val src: AutoCloseab
|
||||
)
|
||||
}
|
||||
}
|
||||
private val targetWidth = appCtx.resources.displayMetrics.widthPixels * 2
|
||||
private val targetHeight = appCtx.resources.displayMetrics.heightPixels * 2
|
||||
private val targetWidth = appCtx.resources.displayMetrics.widthPixels * 3 / 2
|
||||
private val targetHeight = appCtx.resources.displayMetrics.heightPixels * 3 / 2
|
||||
|
||||
@delegate:RequiresApi(Build.VERSION_CODES.O)
|
||||
val isWideColorGamut by lazy { appCtx.resources.configuration.isScreenWideColorGamut }
|
||||
|
||||
Reference in new issue
Block a user