aboutsummaryrefslogtreecommitdiff
path: root/src/screens/profile/CaptionScreen.tsx
diff options
context:
space:
mode:
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,
}));
};