We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15b2dcf commit 08d5799Copy full SHA for 08d5799
package/src/components/Attachment/Card.tsx
@@ -157,7 +157,7 @@ const CardWithContext = <
157
158
const defaultOnPress = () => !error && openURL && openURL();
159
160
- const isVideo = type === 'video';
+ const isVideoCard = type === 'video' && og_scrape_url;
161
162
return (
163
<TouchableOpacity
@@ -205,7 +205,7 @@ const CardWithContext = <
205
source={{ uri: makeImageCompatibleUrl(uri) }}
206
style={[styles.cardCover, cover, stylesProp.cardCover]}
207
>
208
- {isVideo ? (
+ {isVideoCard ? (
209
<View style={[styles.playButtonStyle, roundedView, { backgroundColor: white }]}>
210
<Play height={height} pathFill={black} width={width} />
211
</View>
0 commit comments