From d2272d5d309b2de82335b56d917d5b8a7d7ff980 Mon Sep 17 00:00:00 2001 From: xmflsct Date: Mon, 10 Oct 2022 23:50:15 +0200 Subject: [PATCH] Fixed #385 Instead of providing an option to choose whether or not to include EXIF data, by default, EXIF are not included in the upload as Mastodon would not make use of the data anyway. --- src/components/mediaSelector.ts | 1 + src/i18n/en/components/mediaSelector.json | 10 +--------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/components/mediaSelector.ts b/src/components/mediaSelector.ts index 89404cd2..18ea1051 100644 --- a/src/components/mediaSelector.ts +++ b/src/components/mediaSelector.ts @@ -93,6 +93,7 @@ const mediaSelector = async ({ showActionSheetWithOptions( { title: i18next.t('componentMediaSelector:title'), + message: i18next.t('componentMediaSelector:message'), options: options(), cancelButtonIndex: mediaType ? 1 : 2 }, diff --git a/src/i18n/en/components/mediaSelector.json b/src/i18n/en/components/mediaSelector.json index adc0fa47..090ea97c 100644 --- a/src/i18n/en/components/mediaSelector.json +++ b/src/i18n/en/components/mediaSelector.json @@ -1,18 +1,10 @@ { "title": "Select media source", + "message": "Media EXIF data are not uploaded", "options": { "image": "Upload photos", "image_max": "Upload photos (max {{max}})", "video": "Upload video", "video_max": "Upload video (max {{max}})" - }, - "library": { - "alert": { - "title": "No permission", - "message": "Require photo library read permission to upload", - "buttons": { - "settings": "Update setting" - } - } } } \ No newline at end of file