From 22e1eb18c81b6f41927bc86d4726223c2634e19e Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Fri, 31 May 2024 18:43:04 +0300 Subject: [🐴] Record message (#4230) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * send record via link in text * re-trim text after removing link * record message * only show copy text if message + add translate * reduce padding * adjust padding * Tweak spacing * Stop clickthrough for hidden content * Update bg to show labels --------- Co-authored-by: Eric Bailey --- src/view/com/util/post-embeds/index.tsx | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'src/view/com/util/post-embeds/index.tsx') diff --git a/src/view/com/util/post-embeds/index.tsx b/src/view/com/util/post-embeds/index.tsx index d8ef6e6ab..962f3d8c5 100644 --- a/src/view/com/util/post-embeds/index.tsx +++ b/src/view/com/util/post-embeds/index.tsx @@ -4,6 +4,7 @@ import { StyleProp, StyleSheet, Text, + TextStyle, View, ViewStyle, } from 'react-native' @@ -41,11 +42,13 @@ export function PostEmbeds({ moderation, onOpen, style, + quoteTextStyle, }: { embed?: Embed moderation?: ModerationDecision onOpen?: () => void style?: StyleProp + quoteTextStyle?: StyleProp }) { const pal = usePalette('default') const {openLightbox} = useLightboxControls() @@ -60,7 +63,11 @@ export function PostEmbeds({ moderation={moderation} onOpen={onOpen} /> - + ) } @@ -87,7 +94,14 @@ export function PostEmbeds({ // quote post // = - return + return ( + + ) } // image embed -- cgit 1.4.1