From 94d422c0741874ed617182506e74990afb57ec1e Mon Sep 17 00:00:00 2001 From: SpiritCroc Date: Mon, 12 Oct 2020 15:38:39 +0200 Subject: [PATCH] Adapt image round corners to look similar to bubble round corners Change-Id: I70903cfe0958716877258c9ca37083208493f24c --- .../java/im/vector/app/features/media/ImageContentRenderer.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 9131c88969..0b3b35e93e 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 @@ -101,7 +101,7 @@ class ImageContentRenderer @Inject constructor(private val activeSessionHolder: createGlideRequest(data, mode, imageView, size) .dontAnimate() - .transform(RoundedCorners(dimensionConverter.dpToPx(8))) + .transform(RoundedCorners(dimensionConverter.dpToPx(3))) .thumbnail(0.3f) .into(imageView) }