aboutsummaryrefslogtreecommitdiff
path: root/src/screens/profile/CaptionScreen.tsx
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-07-12 18:14:07 -0400
committerIvan Chen <ivan@tagg.id>2021-07-12 18:14:07 -0400
commit34dc05bae9b16f2fc8ce2cb9532a4498192d13fb (patch)
tree9b3f7a805e18ec7ec85f78d6389843ff69b3b809 /src/screens/profile/CaptionScreen.tsx
parent1b2dbdefd7f0f188c3aae9f3fb862a690c123468 (diff)
Remove hide tab bar logic on fail
Diffstat (limited to 'src/screens/profile/CaptionScreen.tsx')
-rw-r--r--src/screens/profile/CaptionScreen.tsx3
1 files changed, 0 insertions, 3 deletions
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<CaptionScreenProps> = ({route, navigation}) => {
const handleFailed = (noCategory = false) => {
setLoading(false);
- navigation.dangerouslyGetParent()?.setOptions({
- tabBarVisible: true,
- });
setTimeout(() => {
if (noCategory) {
Alert.alert(ERROR_NO_MOMENT_CATEGORY);