Change live photo name
This commit is contained in:
parent
18b6372835
commit
7e2ead40f8
|
@ -78,8 +78,8 @@ Future<MediaUploadData> _getMediaUploadDataFromAssetFile(ente.File file) async {
|
|||
throw InvalidFileUploadState(errMsg);
|
||||
}
|
||||
final tempPath = Configuration.instance.getTempDirectory();
|
||||
// .elv -> Ente live photo
|
||||
final livePhotoPath = tempPath + file.generatedID.toString() + ".elv";
|
||||
// .elp -> ente live photo
|
||||
final livePhotoPath = tempPath + file.generatedID.toString() + ".elp";
|
||||
_logger.fine("Uploading zipped live photo from " + livePhotoPath);
|
||||
var encoder = ZipFileEncoder();
|
||||
encoder.create(livePhotoPath);
|
||||
|
|
Loading…
Reference in a new issue