From a9e6c9dd623dda025c81d03aac7af113f2521d37 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Fri, 6 Sep 2024 15:50:07 +0100 Subject: [PATCH] use FeedEmbedRecordWithMedia presentation in composer --- src/view/com/composer/Composer.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/view/com/composer/Composer.tsx b/src/view/com/composer/Composer.tsx index 6406026187..0465109668 100644 --- a/src/view/com/composer/Composer.tsx +++ b/src/view/com/composer/Composer.tsx @@ -121,6 +121,7 @@ import {EmojiArc_Stroke2_Corner0_Rounded as EmojiSmile} from '#/components/icons import {TimesLarge_Stroke2_Corner0_Rounded as X} from '#/components/icons/Times' import * as Prompt from '#/components/Prompt' import {Text as NewText} from '#/components/Typography' +import {QuoteEmbedViewContext} from '../util/post-embeds' type CancelRef = { onPressCancel: () => void @@ -735,7 +736,10 @@ export const ComposePost = observer(function ComposePost({ {quote ? ( - + {quote.uri !== initQuote?.uri && ( setQuote(undefined)} />