Neeraj Gupta 3 年之前
父節點
當前提交
7e71f7fb59
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lib/utils/file_uploader_util.dart

+ 2 - 2
lib/utils/file_uploader_util.dart

@@ -74,8 +74,8 @@ Future<MediaUploadData> _getMediaUploadDataFromAssetFile(ente.File file) async {
   if (file.fileType == FileType.livePhoto && io.Platform.isIOS) {
   if (file.fileType == FileType.livePhoto && io.Platform.isIOS) {
     final io.File videoUrl = await Motionphoto.getLivePhotoFile(file.localID);
     final io.File videoUrl = await Motionphoto.getLivePhotoFile(file.localID);
     if (videoUrl == null || !videoUrl.existsSync()) {
     if (videoUrl == null || !videoUrl.existsSync()) {
-      String errMsg = "missing livePhoto url for  ${file
-          .toString()} with subType ${file.fileSubType};
+      String errMsg =
+          "missing livePhoto url for  ${file.toString()} with subType ${file.fileSubType}";
       _logger.severe(errMsg);
       _logger.severe(errMsg);
       throw InvalidFileUploadState(errMsg);
       throw InvalidFileUploadState(errMsg);
     }
     }