diff --git a/lib/services/collections_service.dart b/lib/services/collections_service.dart index ca0777157..5be3ef487 100644 --- a/lib/services/collections_service.dart +++ b/lib/services/collections_service.dart @@ -101,7 +101,10 @@ class CollectionsService { // Might not have synced the collection fully final fetchedCollections = await _fetchCollections(lastCollectionUpdationTime); - watch.log("remote fetch"); + watch.log("remote fetch collections ${fetchedCollections.length}"); + if (fetchedCollections.isEmpty) { + return; + } final updatedCollections = []; int maxUpdationTime = lastCollectionUpdationTime; final ownerID = _config.getUserID();