Jelajahi Sumber

Merge pull request #213 from ente-io/fix_collection_sync_time

Fix collection sync time
Vishnu Mohandas 3 tahun lalu
induk
melakukan
592af4d4d2
2 mengubah file dengan 3 tambahan dan 2 penghapusan
  1. 2 1
      lib/services/collections_service.dart
  2. 1 1
      pubspec.yaml

+ 2 - 1
lib/services/collections_service.dart

@@ -78,7 +78,8 @@ class CollectionsService {
         _prefs.getInt(_collectionsSyncTimeKey) ?? 0;
 
     // Might not have synced the collection fully
-    final fetchedCollections = await _fetchCollections(0);
+    final fetchedCollections =
+        await _fetchCollections(lastCollectionUpdationTime);
     final updatedCollections = <Collection>[];
     int maxUpdationTime = lastCollectionUpdationTime;
     final ownerID = _config.getUserID();

+ 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.5.12+292
+version: 0.5.13+293
 
 environment:
   sdk: ">=2.10.0 <3.0.0"