瀏覽代碼

Merge pull request #36 from ente-io/update_invalid_files_key

Update the key for invalid files to pull files that were ignored due to permission errors
Vishnu Mohandas 3 年之前
父節點
當前提交
2f0aead356
共有 2 個文件被更改,包括 4 次插入2 次删除
  1. 3 1
      lib/services/local_sync_service.dart
  2. 1 1
      pubspec.yaml

+ 3 - 1
lib/services/local_sync_service.dart

@@ -26,7 +26,9 @@ class LocalSyncService {
   static const kPermissionStateKey = "permission_state";
   static const kEditedFileIDsKey = "edited_file_ids";
   static const kDownloadedFileIDsKey = "downloaded_file_ids";
-  static const kInvalidFileIDsKey = "invalid_file_ids";
+  // Adding `_2` as a suffic to pull files that were earlier ignored due to permission errors
+  // See https://github.com/CaiJingLong/flutter_photo_manager/issues/589
+  static const kInvalidFileIDsKey = "invalid_file_ids_2";
 
   LocalSyncService._privateConstructor();
 

+ 1 - 1
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.3.23+233
+version: 0.3.24+234
 
 environment:
   sdk: ">=2.10.0 <3.0.0"