aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/moments/Moment.tsx9
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,