From 6616a6467ec53aa71e5f823c2d8c46dc01442703 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Wed, 21 Aug 2024 21:20:45 -0500 Subject: Detached QPs and hidden replies (#4878) Co-authored-by: Hailey --- src/view/com/util/post-ctrls/RepostButton.web.tsx | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'src/view/com/util/post-ctrls/RepostButton.web.tsx') diff --git a/src/view/com/util/post-ctrls/RepostButton.web.tsx b/src/view/com/util/post-ctrls/RepostButton.web.tsx index 17ab736ce..9a8776b9c 100644 --- a/src/view/com/util/post-ctrls/RepostButton.web.tsx +++ b/src/view/com/util/post-ctrls/RepostButton.web.tsx @@ -20,6 +20,7 @@ interface Props { onRepost: () => void onQuote: () => void big?: boolean + embeddingDisabled: boolean } export const RepostButton = ({ @@ -28,6 +29,7 @@ export const RepostButton = ({ onRepost, onQuote, big, + embeddingDisabled, }: Props) => { const t = useTheme() const {_} = useLingui() @@ -76,10 +78,19 @@ export const RepostButton = ({ - {_(msg`Quote post`)} + + {embeddingDisabled + ? _(msg`Quote posts disabled`) + : _(msg`Quote post`)} + -- cgit 1.4.1