|
@@ -101,7 +101,10 @@ class CollectionsService {
|
|
// Might not have synced the collection fully
|
|
// Might not have synced the collection fully
|
|
final fetchedCollections =
|
|
final fetchedCollections =
|
|
await _fetchCollections(lastCollectionUpdationTime);
|
|
await _fetchCollections(lastCollectionUpdationTime);
|
|
- watch.log("remote fetch");
|
|
|
|
|
|
+ watch.log("remote fetch collections ${fetchedCollections.length}");
|
|
|
|
+ if (fetchedCollections.isEmpty) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
final updatedCollections = <Collection>[];
|
|
final updatedCollections = <Collection>[];
|
|
int maxUpdationTime = lastCollectionUpdationTime;
|
|
int maxUpdationTime = lastCollectionUpdationTime;
|
|
final ownerID = _config.getUserID();
|
|
final ownerID = _config.getUserID();
|