Переглянути джерело

Merge pull request #270 from ente-io/photo_view_upgrade

Vishnu Mohandas 3 роки тому
батько
коміт
c0f3898851
2 змінених файлів з 4 додано та 4 видалено
  1. 2 2
      lib/utils/file_uploader_util.dart
  2. 2 2
      pubspec.yaml

+ 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) {
     final io.File videoUrl = await Motionphoto.getLivePhotoFile(file.localID);
     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);
       throw InvalidFileUploadState(errMsg);
     }

+ 2 - 2
pubspec.yaml

@@ -11,7 +11,7 @@ description: ente photos application
 # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
 # Read more about iOS versioning at
 # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
-version: 0.5.32+312
+version: 0.5.33+313
 
 environment:
   sdk: ">=2.10.0 <3.0.0"
@@ -81,7 +81,7 @@ dependencies:
   path_provider: ^2.0.1
   pedantic: ^1.9.2
   photo_manager: ^2.0.8
-  photo_view: ^0.13.0
+  photo_view: ^0.14.0
   pie_chart:
     git: "https://github.com/apgapg/pie_chart.git"
   pinput: ^1.2.2