diff --git a/src/components/status.jsx b/src/components/status.jsx index 73d33021..9e2658a4 100644 --- a/src/components/status.jsx +++ b/src/components/status.jsx @@ -1728,10 +1728,12 @@ function FilteredStatus({ status, filterInfo, instance, containerProps = {} }) { account: { avatar, avatarStatic }, createdAt, visibility, + reblog, } = status; + const isReblog = !!reblog; const filterTitleStr = filterInfo?.titlesStr || ''; const createdAtDate = new Date(createdAt); - const statusPeekText = statusPeek(status); + const statusPeekText = statusPeek(status.reblog || status); const [showPeek, setShowPeek] = useState(false); const bindLongPress = useLongPress( @@ -1747,6 +1749,7 @@ function FilteredStatus({ status, filterInfo, instance, containerProps = {} }) { return (
{ @@ -1776,9 +1779,22 @@ function FilteredStatus({ status, filterInfo, instance, containerProps = {} }) { alt={visibilityText[visibility]} size="s" />{' '} - + {isReblog ? ( + 'boosted' + ) : ( + + )} + + + {isReblog && ( + <> + {' '} + + )} + {statusPeekText} - {statusPeekText} {!!showPeek && (