Sfoglia il codice sorgente

Change live photo name

vishnukvmd 4 anni fa
parent
commit
7e2ead40f8
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      lib/utils/file_uploader_util.dart

+ 2 - 2
lib/utils/file_uploader_util.dart

@@ -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);