aboutsummaryrefslogtreecommitdiff
path: root/src/screens/profile/CaptionScreen.tsx
diff options
context:
space:
mode:
authorMichael <michael.foiani@gmail.com>2021-07-16 13:06:02 -0400
committerMichael <michael.foiani@gmail.com>2021-07-16 13:06:02 -0400
commitfd2478916a96cb3b75dc2d385d402b4f90b02ce8 (patch)
treeb38509b7d586fee83775849dab639ed5ac74f1aa /src/screens/profile/CaptionScreen.tsx
parent5d57346e80cbab3d5e0106b3c9edf25670852d71 (diff)
parent17ac3b21f6db0107d3c5eeb8885884fa8cfa5a72 (diff)
Merge branch 'master' into tma954-video-trimming-component
Merging with master that fixes vid quality bugs
Diffstat (limited to 'src/screens/profile/CaptionScreen.tsx')
-rw-r--r--src/screens/profile/CaptionScreen.tsx9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/screens/profile/CaptionScreen.tsx b/src/screens/profile/CaptionScreen.tsx
index d3aadf76..eba3e4bf 100644
--- a/src/screens/profile/CaptionScreen.tsx
+++ b/src/screens/profile/CaptionScreen.tsx
@@ -114,9 +114,6 @@ const CaptionScreen: React.FC<CaptionScreenProps> = ({route, navigation}) => {
const handleFailed = (noCategory = false) => {
setLoading(false);
- navigation.dangerouslyGetParent()?.setOptions({
- tabBarVisible: true,
- });
setTimeout(() => {
if (noCategory) {
Alert.alert(ERROR_NO_MOMENT_CATEGORY);
@@ -155,9 +152,9 @@ const CaptionScreen: React.FC<CaptionScreenProps> = ({route, navigation}) => {
const formattedTags = () => {
return tags.map((tag) => ({
- x: Math.floor(tag.x),
- y: Math.floor(tag.y),
- z: Math.floor(tag.z),
+ x: tag.x,
+ y: tag.y,
+ z: tag.z,
user_id: tag.user.id,
}));
};