Apply quote-context fix to single-image branch too

This commit is contained in:
vineyardbovines
2026-06-02 12:33:13 -04:00
parent fbf8fc2e7f
commit 410f3cbba1
+2 -5
View File
@@ -65,17 +65,14 @@ export function ImageEmbed({
crop={ crop={
rest.viewContext === PostEmbedViewContext.ThreadHighlighted rest.viewContext === PostEmbedViewContext.ThreadHighlighted
? 'none' ? 'none'
: rest.viewContext === : rest.isWithinQuote
PostEmbedViewContext.FeedEmbedRecordWithMedia
? 'square' ? 'square'
: 'constrained' : 'constrained'
} }
image={image} image={image}
onPress={(containerRef, dims) => onPress(0, [containerRef], [dims])} onPress={(containerRef, dims) => onPress(0, [containerRef], [dims])}
onPressIn={() => onPressIn(0)} onPressIn={() => onPressIn(0)}
hideBadge={ hideBadge={rest.isWithinQuote}
rest.viewContext === PostEmbedViewContext.FeedEmbedRecordWithMedia
}
/> />
</View> </View>
) )