From 80689bbe228ca64505f4f2b234bb2fdb9be01d7a Mon Sep 17 00:00:00 2001 From: William Grant Date: Mon, 24 Apr 2023 15:49:47 +1000 Subject: [PATCH] feat: voice message reply done --- .../SessionQuotedMessageComposition.tsx | 26 +++++++++++-------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/ts/components/conversation/SessionQuotedMessageComposition.tsx b/ts/components/conversation/SessionQuotedMessageComposition.tsx index 6571f1592..af8cc4af2 100644 --- a/ts/components/conversation/SessionQuotedMessageComposition.tsx +++ b/ts/components/conversation/SessionQuotedMessageComposition.tsx @@ -93,16 +93,22 @@ export const SessionQuotedMessageComposition = () => { alignItems={'center'} hasAttachments={hasAttachments} > - {firstImageAttachment && ( + {hasAttachments && ( - {getAlt(firstImageAttachment)} + {firstImageAttachment ? ( + {getAlt(firstImageAttachment)} + ) : hasAudioAttachment ? ( +
+ +
+ ) : null}
)} {

{author}

{subtitleText && {subtitleText}}
- - {hasAudioAttachment && }