diff --git a/vector/src/main/java/im/vector/app/features/media/ImageContentRenderer.kt b/vector/src/main/java/im/vector/app/features/media/ImageContentRenderer.kt index cf1381a1cf..21ed907f0b 100644 --- a/vector/src/main/java/im/vector/app/features/media/ImageContentRenderer.kt +++ b/vector/src/main/java/im/vector/app/features/media/ImageContentRenderer.kt @@ -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 }