diff options
author | Brian Kim <brian@tagg.id> | 2021-07-01 03:52:50 +0900 |
---|---|---|
committer | Brian Kim <brian@tagg.id> | 2021-07-01 03:52:50 +0900 |
commit | 4eda8db632ca996ff9712872b2076a8675a63523 (patch) | |
tree | fbba2d2cd27df45793e9ec49607da8b5886ad5d0 | |
parent | 1c1975265fb6013c34c8e766a7f11b0c5b8d1e11 (diff) |
Updates from product
-rw-r--r-- | src/components/moments/Moment.tsx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/components/moments/Moment.tsx b/src/components/moments/Moment.tsx index 6054639a..ec9129c5 100644 --- a/src/components/moments/Moment.tsx +++ b/src/components/moments/Moment.tsx @@ -92,10 +92,9 @@ const Moment: React.FC<MomentProps> = ({ }) .then((picture) => { if ( - (picture.filename.endsWith('gif') || - picture.filename.endsWith('GIF')) && picture.path && - picture.filename + picture.filename && + (picture.filename.endsWith('gif') || picture.filename.endsWith('GIF')) ) { showGIFFailureAlert(picture); } else if (picture.path && picture.filename) { @@ -121,7 +120,7 @@ const Moment: React.FC<MomentProps> = ({ const showGIFFailureAlert = (picture) => Alert.alert( 'Warning', - 'The app currently cannot handle GIFs, and will only save a static image. Continue?', + 'The app currently cannot handle GIFs, and will only save a static image.', [ { text: 'Cancel', @@ -129,7 +128,7 @@ const Moment: React.FC<MomentProps> = ({ style: 'cancel', }, { - text: 'Continue', + text: 'Post', onPress: () => { navigation.navigate('ZoomInCropper', { screenType, |