From 92f980be2a59efb2d361f00e3607fc437320bcf3 Mon Sep 17 00:00:00 2001 From: Konrad Pozniak Date: Fri, 11 Oct 2024 09:24:12 +0200 Subject: [PATCH] allow setting descriptions on audio attachments (#4711) --- .../tusky/components/compose/MediaPreviewAdapter.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/com/keylesspalace/tusky/components/compose/MediaPreviewAdapter.kt b/app/src/main/java/com/keylesspalace/tusky/components/compose/MediaPreviewAdapter.kt index 5837405af9..e3e1db4e24 100644 --- a/app/src/main/java/com/keylesspalace/tusky/components/compose/MediaPreviewAdapter.kt +++ b/app/src/main/java/com/keylesspalace/tusky/components/compose/MediaPreviewAdapter.kt @@ -112,10 +112,10 @@ class MediaPreviewAdapter( } glide.into(imageView) + } - holder.progressImageView.setOnClickListener { - onMediaClick(item, holder.progressImageView) - } + holder.progressImageView.setOnClickListener { + onMediaClick(item, holder.progressImageView) } }