Increase sticker size
As proposed in https://github.com/SpiritCroc/SchildiChat-android/issues/8 Change-Id: I225515eaf7b269d82572dd1b0f745d6da6b8c3be
This commit is contained in:
parent
01b5a88d59
commit
0d7c0bc29c
|
@ -290,7 +290,7 @@ class ImageContentRenderer @Inject constructor(private val activeSessionHolder:
|
|||
}
|
||||
Mode.STICKER -> {
|
||||
// limit on width
|
||||
val maxWidthDp = min(dimensionConverter.dpToPx(120), maxImageWidth / 2)
|
||||
val maxWidthDp = min(dimensionConverter.dpToPx(240), maxImageWidth)
|
||||
finalWidth = min(dimensionConverter.dpToPx(width), maxWidthDp)
|
||||
finalHeight = finalWidth * height / width
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue