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') 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