From d8bd4ec5c412582aac31d40a72619eac84f81f4f Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Tue, 3 Sep 2024 20:48:11 -0500 Subject: [PATCH] Add some future-proofness --- src/view/com/post-thread/PostThreadItem.tsx | 2 +- src/view/com/util/post-embeds/index.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/view/com/post-thread/PostThreadItem.tsx b/src/view/com/post-thread/PostThreadItem.tsx index 0472087f3f..7b978d8bae 100644 --- a/src/view/com/post-thread/PostThreadItem.tsx +++ b/src/view/com/post-thread/PostThreadItem.tsx @@ -366,7 +366,7 @@ let PostThreadItemLoaded = ({ )} diff --git a/src/view/com/util/post-embeds/index.tsx b/src/view/com/util/post-embeds/index.tsx index d9932b48cf..3dda3fde8e 100644 --- a/src/view/com/util/post-embeds/index.tsx +++ b/src/view/com/util/post-embeds/index.tsx @@ -50,14 +50,14 @@ export function PostEmbeds({ onOpen, style, allowNestedQuotes, - isHighlightedThreadItem, + contextView, }: { embed?: Embed moderation?: ModerationDecision onOpen?: () => void style?: StyleProp allowNestedQuotes?: boolean - isHighlightedThreadItem?: boolean + contextView?: 'thread-highlighted' }) { const {openLightbox} = useLightboxControls() const largeAltBadge = useLargeAltBadgeEnabled() @@ -131,7 +131,7 @@ export function PostEmbeds({ _openLightbox(0)} onPressIn={() => onPressIn(0)}>