From c10d4a7382946df7eb470263441019635db8df0c Mon Sep 17 00:00:00 2001 From: ericdecanini Date: Tue, 14 Jun 2022 10:21:45 +0200 Subject: [PATCH] Slight formatting improvement --- .../java/im/vector/app/features/media/ImageContentRenderer.kt | 4 +++- 1 file changed, 3 insertions(+), 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 637179cb27..8ce172b829 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 @@ -167,7 +167,9 @@ class ImageContentRenderer @Inject constructor( .load(resolvedUrl) } - req.fitCenter().into(target) + req + .fitCenter() + .into(target) } fun renderForSharedElementTransition(data: Data, imageView: ImageView, callback: ((Boolean) -> Unit)? = null) {