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 -> {
|
Mode.STICKER -> {
|
||||||
// limit on width
|
// limit on width
|
||||||
val maxWidthDp = min(dimensionConverter.dpToPx(120), maxImageWidth / 2)
|
val maxWidthDp = min(dimensionConverter.dpToPx(240), maxImageWidth)
|
||||||
finalWidth = min(dimensionConverter.dpToPx(width), maxWidthDp)
|
finalWidth = min(dimensionConverter.dpToPx(width), maxWidthDp)
|
||||||
finalHeight = finalWidth * height / width
|
finalHeight = finalWidth * height / width
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user