aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-07-09 17:59:47 -0400
committerIvan Chen <ivan@tagg.id>2021-07-09 17:59:47 -0400
commitd05ae427027003c714911a2e253bba535c3c8749 (patch)
tree3671ec83acc8cbd177d60d07b3cbea1c4d01cd5c
parentabb032a2c4b6907575531f3cd94728a0cc77bc1d (diff)
Add success msg back
-rw-r--r--src/screens/profile/CaptionScreen.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/screens/profile/CaptionScreen.tsx b/src/screens/profile/CaptionScreen.tsx
index acfe4900..62d2a4c7 100644
--- a/src/screens/profile/CaptionScreen.tsx
+++ b/src/screens/profile/CaptionScreen.tsx
@@ -30,6 +30,7 @@ import {
ERROR_NO_MOMENT_CATEGORY,
ERROR_SOMETHING_WENT_WRONG_REFRESH,
ERROR_UPLOAD,
+ SUCCESS_PIC_UPLOAD,
} from '../../constants/strings';
import * as RootNavigation from '../../RootNavigation';
import {MainStackParams} from '../../routes';
@@ -135,7 +136,7 @@ const CaptionScreen: React.FC<CaptionScreenProps> = ({route, navigation}) => {
'Beautiful, the Moment was uploaded successfully! Check back in a bit and refresh to see it!',
);
} else {
- Alert.alert('');
+ Alert.alert(SUCCESS_PIC_UPLOAD);
}
}, 500);
} else {