aboutsummaryrefslogtreecommitdiff
path: root/src/screens/profile/CaptionScreen.tsx
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-07-16 21:15:07 -0400
committerGitHub <noreply@github.com>2021-07-16 21:15:07 -0400
commit9766c3b0b4764052d708dba2a20d9673230de9c7 (patch)
tree40703c8d2dd5abf0a24c07ab8932559ebc2f9cd5 /src/screens/profile/CaptionScreen.tsx
parent4ebb552aef8c5f6136c9359c54f2e4e1aa921241 (diff)
parentc1b4e35862172b2268a3a53ece0acc807260652e (diff)
Merge pull request #514 from IvanIFChen/tma988-remove-positioned-tags-for-video-moments
[TMA-988] Remove Positioned Tags for Video Moments
Diffstat (limited to 'src/screens/profile/CaptionScreen.tsx')
-rw-r--r--src/screens/profile/CaptionScreen.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/screens/profile/CaptionScreen.tsx b/src/screens/profile/CaptionScreen.tsx
index eba3e4bf..7f77bdca 100644
--- a/src/screens/profile/CaptionScreen.tsx
+++ b/src/screens/profile/CaptionScreen.tsx
@@ -152,9 +152,9 @@ const CaptionScreen: React.FC<CaptionScreenProps> = ({route, navigation}) => {
const formattedTags = () => {
return tags.map((tag) => ({
- x: tag.x,
- y: tag.y,
- z: tag.z,
+ x: isMediaAVideo ? 0 : tag.x,
+ y: isMediaAVideo ? 0 : tag.y,
+ z: isMediaAVideo ? 0 : tag.z,
user_id: tag.user.id,
}));
};