From 34dc05bae9b16f2fc8ce2cb9532a4498192d13fb Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Mon, 12 Jul 2021 18:14:07 -0400 Subject: Remove hide tab bar logic on fail --- src/screens/profile/CaptionScreen.tsx | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/screens') diff --git a/src/screens/profile/CaptionScreen.tsx b/src/screens/profile/CaptionScreen.tsx index 1232eb66..4a18c895 100644 --- a/src/screens/profile/CaptionScreen.tsx +++ b/src/screens/profile/CaptionScreen.tsx @@ -115,9 +115,6 @@ const CaptionScreen: React.FC = ({route, navigation}) => { const handleFailed = (noCategory = false) => { setLoading(false); - navigation.dangerouslyGetParent()?.setOptions({ - tabBarVisible: true, - }); setTimeout(() => { if (noCategory) { Alert.alert(ERROR_NO_MOMENT_CATEGORY); -- cgit v1.2.3-70-g09d2 From d012373314f1af1b02e35994cce9f4450380b35e Mon Sep 17 00:00:00 2001 From: George Rusu Date: Tue, 13 Jul 2021 16:14:49 -0700 Subject: Remove floor --- src/screens/profile/CaptionScreen.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/screens') diff --git a/src/screens/profile/CaptionScreen.tsx b/src/screens/profile/CaptionScreen.tsx index 1232eb66..09a82e32 100644 --- a/src/screens/profile/CaptionScreen.tsx +++ b/src/screens/profile/CaptionScreen.tsx @@ -156,8 +156,8 @@ const CaptionScreen: React.FC = ({route, navigation}) => { const formattedTags = () => { return tags.map((tag) => ({ - x: Math.floor(tag.x), - y: Math.floor(tag.y), + x: tag.x, + y: tag.y, z: Math.floor(tag.z), user_id: tag.user.id, })); -- cgit v1.2.3-70-g09d2 From 6b65929115e031d0bdbb9d663f6a83e9a46a09e1 Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Thu, 15 Jul 2021 15:26:45 -0400 Subject: Remove floor for z index --- src/screens/profile/CaptionScreen.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/screens') diff --git a/src/screens/profile/CaptionScreen.tsx b/src/screens/profile/CaptionScreen.tsx index 09a82e32..f0d24f96 100644 --- a/src/screens/profile/CaptionScreen.tsx +++ b/src/screens/profile/CaptionScreen.tsx @@ -158,7 +158,7 @@ const CaptionScreen: React.FC = ({route, navigation}) => { return tags.map((tag) => ({ x: tag.x, y: tag.y, - z: Math.floor(tag.z), + z: tag.z, user_id: tag.user.id, })); }; -- cgit v1.2.3-70-g09d2