From 4eda8db632ca996ff9712872b2076a8675a63523 Mon Sep 17 00:00:00 2001 From: Brian Kim Date: Thu, 1 Jul 2021 03:52:50 +0900 Subject: Updates from product --- src/components/moments/Moment.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src') 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 = ({ }) .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 = ({ 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 = ({ style: 'cancel', }, { - text: 'Continue', + text: 'Post', onPress: () => { navigation.navigate('ZoomInCropper', { screenType, -- cgit v1.2.3-70-g09d2