Merge pull request #828 from ente-io/remove-elp-extension-for-live-photo

remove the use of elp extension
This commit is contained in:
Abhinav Kumar 2022-12-16 15:46:16 +05:30 committed by GitHub
commit 744e14ada6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 6 deletions

View file

@ -26,8 +26,6 @@ interface LivePhotoIdentifier {
size: number;
}
const ENTE_LIVE_PHOTO_FORMAT = 'elp';
const UNDERSCORE_THREE = '_3';
const UNDERSCORE = '_';
@ -79,9 +77,7 @@ export function getLivePhotoSize(livePhotoAssets: LivePhotoAssets) {
}
export function getLivePhotoName(livePhotoAssets: LivePhotoAssets) {
return `${
splitFilenameAndExtension(livePhotoAssets.image.name)[0]
}.${ENTE_LIVE_PHOTO_FORMAT}`;
return livePhotoAssets.image.name;
}
export async function readLivePhoto(

View file

@ -562,7 +562,7 @@ const englishConstants = {
),
LIVE_PHOTOS_DETECTED:
'The photo and video files from your Live Photos have been merged into a single ELP file',
'The photo and video files from your Live Photos have been merged into a single file',
RETRY_FAILED: 'Retry failed uploads',
FAILED_UPLOADS: 'Failed uploads ',