remove the use of elp extension

This commit is contained in:
Abhinav 2022-12-16 14:34:08 +05:30
parent 0db44881cf
commit df94156f83
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 splitFilenameAndExtension(livePhotoAssets.image.name)[0];
}
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 ',